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/forms/modules/unittree/business/selection/UnitSelectionConfigHome.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 40103

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigValueHome.java

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 42115

Priority 3

fr/paris/lutece/plugins/forms/modules/unittree/business/form/panel/initializer/impl/SubunitFormPanelInitializer.java

Rule Violation Line
CommentRequired Header comments are required 4255

fr/paris/lutece/plugins/forms/modules/unittree/business/form/panel/initializer/impl/UnittreeFormPanelInitializer.java

Rule Violation Line
CommentRequired Header comments are required 4255

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfig.java

Rule Violation Line
CommentRequired Header comments are required 39153
CommentRequired Public method and constructor comments are required 131135

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigDao.java

Rule Violation Line
CommentRequired Header comments are required 41145

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigHome.java

Rule Violation Line
CommentRequired Header comments are required 40103

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigValue.java

Rule Violation Line
CommentRequired Header comments are required 40185

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigValueDao.java

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 6875
ConfusingTernary Avoid if (x != y) ..; else ..; 7683
ConfusingTernary Avoid if (x != y) ..; else ..; 106113
ConfusingTernary Avoid if (x != y) ..; else ..; 114121

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigValueHome.java

Rule Violation Line
CommentRequired Header comments are required 42115

fr/paris/lutece/plugins/forms/modules/unittree/service/FormsParametrableUnitSelection.java

Rule Violation Line
CommentRequired Header comments are required 53113
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 82
ConfusingTernary Avoid if (x != y) ..; else ..; 101

fr/paris/lutece/plugins/forms/modules/unittree/service/IUnitSelectionConfigService.java

Rule Violation Line
CommentRequired Header comments are required 3869

fr/paris/lutece/plugins/forms/modules/unittree/service/impl/FormsParametrableConfigurationHandler.java

Rule Violation Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 34473
CommentRequired Header comments are required 75473
CyclomaticComplexity The method 'getCustomConfigForm(Locale, ITask)' has a cyclomatic complexity of 11. 133192
NPathComplexity The method 'getCustomConfigForm(Locale, ITask)' has an NPath complexity of 768 133192
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 145
CyclomaticComplexity The method 'doProcessAction(String, HttpServletRequest)' has a cyclomatic complexity of 16. 304388
NcssCount The method 'doProcessAction(String, HttpServletRequest)' has a NCSS line count of 73. 304388

fr/paris/lutece/plugins/forms/modules/unittree/service/impl/UnitSelectionConfigService.java

Rule Violation Line
CommentRequired Header comments are required 4291

fr/paris/lutece/plugins/forms/modules/unittree/web/form/panel/display/initializer/impl/SubunitFormPanelDisplayInitialiser.java

Rule Violation Line
CommentRequired Header comments are required 5379

fr/paris/lutece/plugins/forms/modules/unittree/web/form/panel/display/initializer/impl/UnittreeFormPanelDisplayInitialiser.java

Rule Violation Line
CommentRequired Header comments are required 5172

Files

fr/paris/lutece/plugins/forms/modules/unittree/business/form/panel/initializer/impl/SubunitFormPanelInitializer.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4255

fr/paris/lutece/plugins/forms/modules/unittree/business/form/panel/initializer/impl/UnittreeFormPanelInitializer.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4255

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfig.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 39153
CommentRequired Public method and constructor comments are required 3 131135

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigDao.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 41145

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigHome.java

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 40103
CommentRequired Header comments are required 3 40103

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigValue.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 40185

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigValueDao.java

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 6875
ConfusingTernary Avoid if (x != y) ..; else ..; 3 7683
ConfusingTernary Avoid if (x != y) ..; else ..; 3 106113
ConfusingTernary Avoid if (x != y) ..; else ..; 3 114121

fr/paris/lutece/plugins/forms/modules/unittree/business/selection/UnitSelectionConfigValueHome.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 42115
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 42115

fr/paris/lutece/plugins/forms/modules/unittree/service/FormsParametrableUnitSelection.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 53113
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 82
ConfusingTernary Avoid if (x != y) ..; else ..; 3 101

fr/paris/lutece/plugins/forms/modules/unittree/service/IUnitSelectionConfigService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 3869

fr/paris/lutece/plugins/forms/modules/unittree/service/impl/FormsParametrableConfigurationHandler.java

Rule Violation Priority Line
ExcessiveImports A high number of imports can indicate a high degree of coupling within an object. 3 34473
CommentRequired Header comments are required 3 75473
CyclomaticComplexity The method 'getCustomConfigForm(Locale, ITask)' has a cyclomatic complexity of 11. 3 133192
NPathComplexity The method 'getCustomConfigForm(Locale, ITask)' has an NPath complexity of 768 3 133192
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 145
CyclomaticComplexity The method 'doProcessAction(String, HttpServletRequest)' has a cyclomatic complexity of 16. 3 304388
NcssCount The method 'doProcessAction(String, HttpServletRequest)' has a NCSS line count of 73. 3 304388

fr/paris/lutece/plugins/forms/modules/unittree/service/impl/UnitSelectionConfigService.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4291

fr/paris/lutece/plugins/forms/modules/unittree/web/form/panel/display/initializer/impl/SubunitFormPanelDisplayInitialiser.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 5379

fr/paris/lutece/plugins/forms/modules/unittree/web/form/panel/display/initializer/impl/UnittreeFormPanelDisplayInitialiser.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 5172