Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 3
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/business/AutomaticAssignment.java
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/business/AutomaticAssignmentDAO.java
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/business/TaskAutomaticAssignmentConfigDAO.java
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/service/AutomaticAssignmentService.java
Rule |
Violation |
Ligne |
ExcessiveImports |
A high number of imports can indicate a high degree of coupling within an object. |
34–602 |
TooManyMethods |
This class has too many methods, consider refactoring it. |
94–602 |
ConfusingTernary |
Avoid if (x != y) ..; else ..; |
448–465 |
ShortVariable |
Avoid variables with short names like t |
481 |
CyclomaticComplexity |
The method 'buildModel(TaskAutomaticAssignmentConfig, ResourceHistory, List, HttpServletRequest, Locale)' has a cyclomatic complexity of 10. |
516–600 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
519 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
585 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
591 |
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/service/IAutomaticAssignmentService.java
Rule |
Violation |
Ligne |
CommentRequired |
Public method and constructor comments are required |
160 |
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/service/TaskAutomaticAssignment.java
Rule |
Violation |
Ligne |
CyclomaticComplexity |
The method 'processTask(int, HttpServletRequest, Locale)' has a cyclomatic complexity of 10. |
91–138 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
93 |
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/web/AutomaticAssignmentJspBean.java
Rule |
Violation |
Ligne |
ImmutableField |
Private field '_automaticAssignmentService' could be made final; it is only initialized in the declaration or constructor. |
90 |
ImmutableField |
Private field '_taskAutomaticAssignmentConfigService' could be made final; it is only initialized in the declaration or constructor. |
91 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
178 |
ConfusingTernary |
Avoid if (x != y) ..; else ..; |
210–217 |
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/web/AutomaticAssignmentTaskComponent.java
Fichiers
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/business/AutomaticAssignment.java
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/business/AutomaticAssignmentDAO.java
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/business/TaskAutomaticAssignmentConfigDAO.java
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/service/AutomaticAssignmentService.java
Rule |
Violation |
Priority |
Ligne |
ExcessiveImports |
A high number of imports can indicate a high degree of coupling within an object. |
3 |
34–602 |
TooManyMethods |
This class has too many methods, consider refactoring it. |
3 |
94–602 |
ConfusingTernary |
Avoid if (x != y) ..; else ..; |
3 |
448–465 |
ShortVariable |
Avoid variables with short names like t |
3 |
481 |
CyclomaticComplexity |
The method 'buildModel(TaskAutomaticAssignmentConfig, ResourceHistory, List, HttpServletRequest, Locale)' has a cyclomatic complexity of 10. |
3 |
516–600 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
519 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
585 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
591 |
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/service/IAutomaticAssignmentService.java
Rule |
Violation |
Priority |
Ligne |
CommentRequired |
Public method and constructor comments are required |
3 |
160 |
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/service/TaskAutomaticAssignment.java
Rule |
Violation |
Priority |
Ligne |
CyclomaticComplexity |
The method 'processTask(int, HttpServletRequest, Locale)' has a cyclomatic complexity of 10. |
3 |
91–138 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
93 |
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/web/AutomaticAssignmentJspBean.java
Rule |
Violation |
Priority |
Ligne |
ImmutableField |
Private field '_automaticAssignmentService' could be made final; it is only initialized in the declaration or constructor. |
3 |
90 |
ImmutableField |
Private field '_taskAutomaticAssignmentConfigService' could be made final; it is only initialized in the declaration or constructor. |
3 |
91 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
178 |
ConfusingTernary |
Avoid if (x != y) ..; else ..; |
3 |
210–217 |
fr/paris/lutece/plugins/workflow/modules/formsautomaticassignment/web/AutomaticAssignmentTaskComponent.java