Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

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

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 60–159

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

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 48–124

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

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 51–204

Priority 3

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

Rule Violation Line
CommentRequired Header comments are required 38–62
CommentRequired Public method and constructor comments are required 43–46
CommentRequired Public method and constructor comments are required 48–51
CommentRequired Public method and constructor comments are required 53–56
CommentRequired Public method and constructor comments are required 58–61

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

Rule Violation Line
CommentRequired Header comments are required 40–113

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

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

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

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

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

Rule Violation Line
CommentRequired Header comments are required 53–123
ConfusingTernary Avoid if (x != y) ..; else ..; 68–77
CommentRequired Public method and constructor comments are required 91–101

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

Rule Violation Line
CommentRequired Header comments are required 57–215
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 Line
CommentRequired Header comments are required 51–204
CyclomaticComplexity The method 'constructRedirectionUrl(HttpServletRequest, String, String, RequestParameters)' has a cyclomatic complexity of 10. 106–139

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

Rule Violation Line
CommentRequired Header comments are required 57–238
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 171
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 184
ConfusingTernary Avoid if (x != y) ..; else ..; 197–236

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

Rule Violation Line
CommentRequired Enum comments are required 37–47

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

Rule Violation Line
DataClass The class 'PredemandeResponse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 42–141
CommentRequired Header comments are required 42–141
DataClass The class 'Appointment' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 72–139
CommentRequired Header comments are required 72–139

Files

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 38–62
CommentRequired Public method and constructor comments are required 3 43–46
CommentRequired Public method and constructor comments are required 3 48–51
CommentRequired Public method and constructor comments are required 3 53–56
CommentRequired Public method and constructor comments are required 3 58–61

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 40–113

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

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

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

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

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 53–123
ConfusingTernary Avoid if (x != y) ..; else ..; 3 68–77
CommentRequired Public method and constructor comments are required 3 91–101

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 57–215
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 Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 48–124

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

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

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 57–238
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 171
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 184
ConfusingTernary Avoid if (x != y) ..; else ..; 3 197–236

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

Rule Violation Priority Line
CommentRequired Enum comments are required 3 37–47

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

Rule Violation Priority Line
DataClass The class 'PredemandeResponse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 42–141
CommentRequired Header comments are required 3 42–141
DataClass The class 'Appointment' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) 3 72–139
CommentRequired Header comments are required 3 72–139