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/desk/service/AppointmentDeskService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 54222

Priority 2

fr/paris/lutece/plugins/appointment/modules/desk/web/AppointmentDeskJspBean.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 255
GuardLogStatement Logger calls should be surrounded by log level guards. 306

Priority 3

fr/paris/lutece/plugins/appointment/modules/desk/service/AppointmentDeskService.java

Rule Violation Ligne
CommentRequired Header comments are required 54222
CommentRequired Public method and constructor comments are required 62114
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'slot' 75
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 100
CommentRequired Public method and constructor comments are required 116185
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'slot' 137
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 165
CommentRequired Public method and constructor comments are required 187220

fr/paris/lutece/plugins/appointment/modules/desk/util/IncrementingType.java

Rule Violation Ligne
CommentRequired Enum comments are required 3682
CommentRequired Public method and constructor comments are required 6980

fr/paris/lutece/plugins/appointment/modules/desk/web/AppointmentDeskJspBean.java

Rule Violation Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34406
CommentRequired Public method and constructor comments are required 348362
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 350

Priority 4

fr/paris/lutece/plugins/appointment/modules/desk/web/AppointmentDeskJspBean.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 56
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.PluginService' 61

Fichiers

fr/paris/lutece/plugins/appointment/modules/desk/service/AppointmentDeskService.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 54222
CommentRequired Header comments are required 3 54222
CommentRequired Public method and constructor comments are required 3 62114
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'slot' 3 75
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 100
CommentRequired Public method and constructor comments are required 3 116185
AvoidReassigningLoopVariables Avoid reassigning the loop control variable 'slot' 3 137
AvoidCatchingGenericException Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block 3 165
CommentRequired Public method and constructor comments are required 3 187220

fr/paris/lutece/plugins/appointment/modules/desk/util/IncrementingType.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3682
CommentRequired Public method and constructor comments are required 3 6980

fr/paris/lutece/plugins/appointment/modules/desk/web/AppointmentDeskJspBean.java

Rule Violation Priority Ligne
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34406
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 4 56
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.PluginService' 4 61
GuardLogStatement Logger calls should be surrounded by log level guards. 2 255
GuardLogStatement Logger calls should be surrounded by log level guards. 2 306
CommentRequired Public method and constructor comments are required 3 348362
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 350