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 40–103

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 42–115

Priority 3

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

Rule Violation Line
CommentRequired Header comments are required 42–55

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

Rule Violation Line
CommentRequired Header comments are required 42–55

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

Rule Violation Line
CommentRequired Header comments are required 39–153
CommentRequired Public method and constructor comments are required 131–135

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

Rule Violation Line
CommentRequired Header comments are required 41–145

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

Rule Violation Line
CommentRequired Header comments are required 40–103

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

Rule Violation Line
CommentRequired Header comments are required 40–185

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

Rule Violation Line
ConfusingTernary Avoid if (x != y) ..; else ..; 68–75
ConfusingTernary Avoid if (x != y) ..; else ..; 76–83
ConfusingTernary Avoid if (x != y) ..; else ..; 106–113
ConfusingTernary Avoid if (x != y) ..; else ..; 114–121

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

Rule Violation Line
CommentRequired Header comments are required 42–115

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

Rule Violation Line
CommentRequired Header comments are required 53–113
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 38–69

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. 34–473
CommentRequired Header comments are required 75–473
CyclomaticComplexity The method 'getCustomConfigForm(Locale, ITask)' has a cyclomatic complexity of 11. 133–192
NPathComplexity The method 'getCustomConfigForm(Locale, ITask)' has an NPath complexity of 768 133–192
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 145
NcssCount The method 'doProcessAction(String, HttpServletRequest)' has a NCSS line count of 73. 304–388
CyclomaticComplexity The method 'doProcessAction(String, HttpServletRequest)' has a cyclomatic complexity of 16. 304–388

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

Rule Violation Line
CommentRequired Header comments are required 42–91

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

Rule Violation Line
CommentRequired Header comments are required 52–79

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

Rule Violation Line
CommentRequired Header comments are required 51–72

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 42–55

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 42–55

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 39–153
CommentRequired Public method and constructor comments are required 3 131–135

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 41–145

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

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

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

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

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

Rule Violation Priority Line
ConfusingTernary Avoid if (x != y) ..; else ..; 3 68–75
ConfusingTernary Avoid if (x != y) ..; else ..; 3 76–83
ConfusingTernary Avoid if (x != y) ..; else ..; 3 106–113
ConfusingTernary Avoid if (x != y) ..; else ..; 3 114–121

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

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

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 53–113
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 38–69

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 34–473
CommentRequired Header comments are required 3 75–473
CyclomaticComplexity The method 'getCustomConfigForm(Locale, ITask)' has a cyclomatic complexity of 11. 3 133–192
NPathComplexity The method 'getCustomConfigForm(Locale, ITask)' has an NPath complexity of 768 3 133–192
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 145
NcssCount The method 'doProcessAction(String, HttpServletRequest)' has a NCSS line count of 73. 3 304–388
CyclomaticComplexity The method 'doProcessAction(String, HttpServletRequest)' has a cyclomatic complexity of 16. 3 304–388

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 42–91

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 52–79

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 51–72