Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 6.13.0.

Violations By Priority

Priority 2

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

Rule Violation Ligne
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 Ligne
UncommentedEmptyConstructor Document empty constructor 6062

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

Rule Violation Ligne
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 Ligne
NonThreadSafeSingleton Singleton is not thread safe 162165

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

Rule Violation Ligne
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 Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 179

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

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

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

Rule Violation Ligne
UncommentedEmptyMethodBody Document empty method body 7475

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

Rule Violation Ligne
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

Fichiers

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

Rule Violation Priority Ligne
UncommentedEmptyConstructor Document empty constructor 3 6062

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

Rule Violation Priority Ligne
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 Ligne
NonThreadSafeSingleton Singleton is not thread safe 3 162165

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

Rule Violation Priority Ligne
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 Ligne
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 Ligne
UnusedPrivateField Avoid unused private fields such as '_actionHitService'. 3 61

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

Rule Violation Priority Ligne
UncommentedEmptyMethodBody Document empty method body 3 7475

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

Rule Violation Priority Ligne
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