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/ants/service/PreDemandeValidationService.java

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

fr/paris/lutece/plugins/appointment/modules/ants/utils/HttpCallsUtils.java

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

fr/paris/lutece/plugins/appointment/modules/ants/utils/PredemandeCodeUtils.java

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

Priority 3

fr/paris/lutece/plugins/appointment/modules/ants/business/accesscontrol/config/SlotsNumberAccessControllerConfig.java

Rule Violation Ligne
CommentRequired Header comments are required 3862
CommentRequired Public method and constructor comments are required 4346
CommentRequired Public method and constructor comments are required 4851
CommentRequired Public method and constructor comments are required 5356
CommentRequired Public method and constructor comments are required 5861

fr/paris/lutece/plugins/appointment/modules/ants/business/accesscontrol/config/SlotsNumberAccessControllerConfigDAO.java

Rule Violation Ligne
CommentRequired Header comments are required 40113

fr/paris/lutece/plugins/appointment/modules/ants/common/RequestParameters.java

Rule Violation Ligne
CommentRequired Header comments are required 36139
DataClass The class 'RequestParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=18, WMC=18) 36139

fr/paris/lutece/plugins/appointment/modules/ants/service/PreDemandeValidationService.java

Rule Violation Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 134

fr/paris/lutece/plugins/appointment/modules/ants/service/accesscontrol/AntsAccessControlServiceProvider.java

Rule Violation Ligne
CommentRequired Header comments are required 53123
ConfusingTernary Avoid if (x != y) ..; else ..; 6877
CommentRequired Public method and constructor comments are required 91101

fr/paris/lutece/plugins/appointment/modules/ants/service/accesscontrol/SlotsNumberAccessControllerType.java

Rule Violation Ligne
CommentRequired Header comments are required 57215
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 92
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 106

fr/paris/lutece/plugins/appointment/modules/ants/utils/PredemandeCodeUtils.java

Rule Violation Ligne
CommentRequired Header comments are required 51204
CyclomaticComplexity The method 'constructRedirectionUrl(HttpServletRequest, String, String, RequestParameters)' has a cyclomatic complexity of 10. 106139

fr/paris/lutece/plugins/appointment/modules/ants/web/AppointmentAntsApp.java

Rule Violation Ligne
CommentRequired Header comments are required 57236
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 160
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 170
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 183
ConfusingTernary Avoid if (x != y) ..; else ..; 195234

fr/paris/lutece/plugins/appointment/modules/ants/web/PreDemandeStatusEnum.java

Rule Violation Ligne
CommentRequired Enum comments are required 3747

fr/paris/lutece/plugins/appointment/modules/ants/web/PredemandeResponse.java

Rule Violation Ligne
DataClass The class 'PredemandeResponse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 42128
CommentRequired Header comments are required 42128
DataClass The class 'Appointment' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 72126
CommentRequired Header comments are required 72126

Fichiers

fr/paris/lutece/plugins/appointment/modules/ants/business/accesscontrol/config/SlotsNumberAccessControllerConfig.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3862
CommentRequired Public method and constructor comments are required 3 4346
CommentRequired Public method and constructor comments are required 3 4851
CommentRequired Public method and constructor comments are required 3 5356
CommentRequired Public method and constructor comments are required 3 5861

fr/paris/lutece/plugins/appointment/modules/ants/business/accesscontrol/config/SlotsNumberAccessControllerConfigDAO.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 40113

fr/paris/lutece/plugins/appointment/modules/ants/common/RequestParameters.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 36139
DataClass The class 'RequestParameters' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=18, WMC=18) 3 36139

fr/paris/lutece/plugins/appointment/modules/ants/service/PreDemandeValidationService.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 58152
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 134

fr/paris/lutece/plugins/appointment/modules/ants/service/accesscontrol/AntsAccessControlServiceProvider.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 53123
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6877
CommentRequired Public method and constructor comments are required 3 91101

fr/paris/lutece/plugins/appointment/modules/ants/service/accesscontrol/SlotsNumberAccessControllerType.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 57215
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 92
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 106

fr/paris/lutece/plugins/appointment/modules/ants/utils/HttpCallsUtils.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 48124

fr/paris/lutece/plugins/appointment/modules/ants/utils/PredemandeCodeUtils.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 51204
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 51204
CyclomaticComplexity The method 'constructRedirectionUrl(HttpServletRequest, String, String, RequestParameters)' has a cyclomatic complexity of 10. 3 106139

fr/paris/lutece/plugins/appointment/modules/ants/web/AppointmentAntsApp.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 57236
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 160
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 170
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 183
ConfusingTernary Avoid if (x != y) ..; else ..; 3 195234

fr/paris/lutece/plugins/appointment/modules/ants/web/PreDemandeStatusEnum.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3747

fr/paris/lutece/plugins/appointment/modules/ants/web/PredemandeResponse.java

Rule Violation Priority Ligne
DataClass The class 'PredemandeResponse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 42128
CommentRequired Header comments are required 3 42128
DataClass The class 'Appointment' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 72126
CommentRequired Header comments are required 3 72126