Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/appointment/modules/solr/service/Utilities.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'Utilities' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 46103

Priority 3

fr/paris/lutece/plugins/appointment/modules/solr/service/SlotUtil.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 205214

fr/paris/lutece/plugins/appointment/modules/solr/service/SolrAppointmentIndexer.java

Rule Violation Ligne
CyclomaticComplexity The method 'writeSlotAndForm(Slot, StringBuilder, Queue)' has a cyclomatic complexity of 11. 225278
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 331335

fr/paris/lutece/plugins/appointment/modules/solr/service/SolrAppointmentListener.java

Rule Violation Ligne
TooManyMethods This class has too many methods, consider refactoring it. 69275
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 177181
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 183187

Priority 4

fr/paris/lutece/plugins/appointment/modules/solr/service/FormUtil.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'java.time.temporal.TemporalField' 39
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.business.display.Display' 48
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.business.form.Form' 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.service.DisplayService' 51

Fichiers

fr/paris/lutece/plugins/appointment/modules/solr/service/FormUtil.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'java.time.temporal.TemporalField' 4 39
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.business.display.Display' 4 48
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.business.form.Form' 4 49
UnusedImports Avoid unused imports such as 'fr.paris.lutece.plugins.appointment.service.DisplayService' 4 51

fr/paris/lutece/plugins/appointment/modules/solr/service/SlotUtil.java

Rule Violation Priority Ligne
CommentRequired Public method and constructor comments are required 3 205214

fr/paris/lutece/plugins/appointment/modules/solr/service/SolrAppointmentIndexer.java

Rule Violation Priority Ligne
CyclomaticComplexity The method 'writeSlotAndForm(Slot, StringBuilder, Queue)' has a cyclomatic complexity of 11. 3 225278
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 331335

fr/paris/lutece/plugins/appointment/modules/solr/service/SolrAppointmentListener.java

Rule Violation Priority Ligne
TooManyMethods This class has too many methods, consider refactoring it. 3 69275
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 177181
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 183187

fr/paris/lutece/plugins/appointment/modules/solr/service/Utilities.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'Utilities' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 46103