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 54–222

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. 256
GuardLogStatement Logger calls should be surrounded by log level guards. 311

Priority 3

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

Rule Violation Ligne
CommentRequired Header comments are required 54–222
CommentRequired Public method and constructor comments are required 62–114
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 116–185
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 187–220

fr/paris/lutece/plugins/appointment/modules/desk/service/comment/RedirectAppointmentDesk.java

Rule Violation Ligne
CommentRequired Header comments are required 42–92

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

Rule Violation Ligne
CommentRequired Enum comments are required 36–82
CommentRequired Public method and constructor comments are required 69–80

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. 34–408
CommentRequired Public method and constructor comments are required 350–364
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 352

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' 57
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.PluginService' 62

Fichiers

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

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 54–222
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 54–222
CommentRequired Public method and constructor comments are required 3 62–114
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 116–185
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 187–220

fr/paris/lutece/plugins/appointment/modules/desk/service/comment/RedirectAppointmentDesk.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 42–92

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

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 36–82
CommentRequired Public method and constructor comments are required 3 69–80

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 34–408
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' 4 57
UnusedImports Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.PluginService' 4 62
GuardLogStatement Logger calls should be surrounded by log level guards. 2 256
GuardLogStatement Logger calls should be surrounded by log level guards. 2 311
CommentRequired Public method and constructor comments are required 3 350–364
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 352