Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 2

fr/paris/lutece/plugins/extend/modules/actionhit/web/component/ActionHitResourceExtenderComponent.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 143

Priority 3

fr/paris/lutece/plugins/extend/modules/actionhit/business/ActionHit.java

Rule Violation Line
UncommentedEmptyConstructor Document empty constructor 6062

fr/paris/lutece/plugins/extend/modules/actionhit/business/ActionHitDAO.java

Rule Violation Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 8799
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 168
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 192
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 215

fr/paris/lutece/plugins/extend/modules/actionhit/business/ActionHitHome.java

Rule Violation Line
NonThreadSafeSingleton Singleton is not thread safe 162165

fr/paris/lutece/plugins/extend/modules/actionhit/service/ActionHitListener.java

Rule Violation Line
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 82
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 82
ConfusingTernary Avoid if (x != y) ..; else ..; 102

fr/paris/lutece/plugins/extend/modules/actionhit/service/ActionHitService.java

Rule Violation Line
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 179

fr/paris/lutece/plugins/extend/modules/actionhit/service/extender/ActionHitResourceExtender.java

Rule Violation Line
UnusedPrivateField Avoid unused private fields such as '_actionHitService'. 61

fr/paris/lutece/plugins/extend/modules/actionhit/web/action/ActionHitInstallerPluginAction.java

Rule Violation Line
UncommentedEmptyMethodBody Document empty method body 7475

fr/paris/lutece/plugins/extend/modules/actionhit/web/component/ActionHitResourceExtenderComponent.java

Rule Violation Line
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 91
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 108
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 108

Files

fr/paris/lutece/plugins/extend/modules/actionhit/business/ActionHit.java

Rule Violation Priority Line
UncommentedEmptyConstructor Document empty constructor 3 6062

fr/paris/lutece/plugins/extend/modules/actionhit/business/ActionHitDAO.java

Rule Violation Priority Line
AvoidSynchronizedAtMethodLevel Use block level rather than method level synchronization 3 8799
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 168
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 192
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 215

fr/paris/lutece/plugins/extend/modules/actionhit/business/ActionHitHome.java

Rule Violation Priority Line
NonThreadSafeSingleton Singleton is not thread safe 3 162165

fr/paris/lutece/plugins/extend/modules/actionhit/service/ActionHitListener.java

Rule Violation Priority Line
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 82
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 82
ConfusingTernary Avoid if (x != y) ..; else ..; 3 102

fr/paris/lutece/plugins/extend/modules/actionhit/service/ActionHitService.java

Rule Violation Priority Line
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 179

fr/paris/lutece/plugins/extend/modules/actionhit/service/extender/ActionHitResourceExtender.java

Rule Violation Priority Line
UnusedPrivateField Avoid unused private fields such as '_actionHitService'. 3 61

fr/paris/lutece/plugins/extend/modules/actionhit/web/action/ActionHitInstallerPluginAction.java

Rule Violation Priority Line
UncommentedEmptyMethodBody Document empty method body 3 7475

fr/paris/lutece/plugins/extend/modules/actionhit/web/component/ActionHitResourceExtenderComponent.java

Rule Violation Priority Line
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 91
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 108
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 108
GuardLogStatement Logger calls should be surrounded by log level guards. 2 143