PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/workflow/modules/rest/util/constants/WorkflowRestConstants.java
Rule |
Violation |
Line |
ClassNamingConventions |
The utility class name 'WorkflowRestConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
41–119 |
Priority 3
fr/paris/lutece/plugins/workflow/modules/rest/business/resourceinfo/StateInfo.java
Rule |
Violation |
Line |
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' |
80–81 |
fr/paris/lutece/plugins/workflow/modules/rest/rs/ActionRest.java
fr/paris/lutece/plugins/workflow/modules/rest/rs/ResourceWorkflowRest.java
fr/paris/lutece/plugins/workflow/modules/rest/rs/StateRest.java
Rule |
Violation |
Line |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
96 |
fr/paris/lutece/plugins/workflow/modules/rest/rs/WorkflowRest.java
Files
fr/paris/lutece/plugins/workflow/modules/rest/business/resourceinfo/StateInfo.java
Rule |
Violation |
Priority |
Line |
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 |
80–81 |
fr/paris/lutece/plugins/workflow/modules/rest/rs/ActionRest.java
fr/paris/lutece/plugins/workflow/modules/rest/rs/ResourceWorkflowRest.java
Rule |
Violation |
Priority |
Line |
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 |
Line |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
96 |
fr/paris/lutece/plugins/workflow/modules/rest/rs/WorkflowRest.java
fr/paris/lutece/plugins/workflow/modules/rest/util/constants/WorkflowRestConstants.java
Rule |
Violation |
Priority |
Line |
ClassNamingConventions |
The utility class name 'WorkflowRestConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
1 |
41–119 |