Fork me on GitHub

Résultats PMD

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

Violations By Priority

Priority 1

fr/paris/lutece/plugins/workflow/modules/rest/util/constants/WorkflowRestConstants.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'WorkflowRestConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 41119

Priority 3

fr/paris/lutece/plugins/workflow/modules/rest/business/resourceinfo/StateInfo.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 60
LinguisticNaming Linguistics Antipattern - The variable 'isInitialState' indicates linguistically it is a boolean, but it is 'IResourceInfo' 77
LinguisticNaming Linguistics Antipattern - The variable 'isRequiredWorkgroupAssigned' indicates linguistically it is a boolean, but it is 'IResourceInfo' 8081

fr/paris/lutece/plugins/workflow/modules/rest/rs/ActionRest.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 108
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 174

fr/paris/lutece/plugins/workflow/modules/rest/rs/ResourceWorkflowRest.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 102

fr/paris/lutece/plugins/workflow/modules/rest/rs/StateRest.java

Rule Violation Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 96

fr/paris/lutece/plugins/workflow/modules/rest/rs/WorkflowRest.java

Rule Violation Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 105
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 105
ShortVariable Avoid variables with short names like t 108
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 133

Fichiers

fr/paris/lutece/plugins/workflow/modules/rest/business/resourceinfo/StateInfo.java

Rule Violation Priority Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 60
LinguisticNaming Linguistics Antipattern - The variable 'isInitialState' indicates linguistically it is a boolean, but it is 'IResourceInfo' 3 77
LinguisticNaming Linguistics Antipattern - The variable 'isRequiredWorkgroupAssigned' indicates linguistically it is a boolean, but it is 'IResourceInfo' 3 8081

fr/paris/lutece/plugins/workflow/modules/rest/rs/ActionRest.java

Rule Violation Priority Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 108
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 174

fr/paris/lutece/plugins/workflow/modules/rest/rs/ResourceWorkflowRest.java

Rule Violation Priority Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 102

fr/paris/lutece/plugins/workflow/modules/rest/rs/StateRest.java

Rule Violation Priority Ligne
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 96

fr/paris/lutece/plugins/workflow/modules/rest/rs/WorkflowRest.java

Rule Violation Priority Ligne
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 105
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 105
ShortVariable Avoid variables with short names like t 3 108
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 133

fr/paris/lutece/plugins/workflow/modules/rest/util/constants/WorkflowRestConstants.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'WorkflowRestConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 41119