Fork me on GitHub

Résultats PMD

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

Violations By Priority

Priority 3

fr/paris/lutece/plugins/cgu/business/CguDAO.java

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

fr/paris/lutece/plugins/cgu/business/CguVersionDAO.java

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

fr/paris/lutece/plugins/cgu/service/CguService.java

Rule Violation Ligne
MissingOverride The method 'findLastVersion(String)' is missing an @Override annotation. 5255
MissingOverride The method 'acceptCgu(String, int, String)' is missing an @Override annotation. 6071
MissingOverride The method 'hasAcceptedLastVersion(String, int, String)' is missing an @Override annotation. 7683

fr/paris/lutece/plugins/cgu/web/AbstractManageJspBean.java

Rule Violation Ligne
SingularField Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. 71
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 101

fr/paris/lutece/plugins/cgu/web/AcceptedCguManager.java

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

fr/paris/lutece/plugins/cgu/web/CguJspBean.java

Rule Violation Ligne
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 159
ConfusingTernary Avoid if (x != y) ..; else ..; 182
CyclomaticComplexity The method 'validateCGU(HttpServletRequest, String)' has a cyclomatic complexity of 10. 352388
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 366

fr/paris/lutece/plugins/cgu/web/CguXPage.java

Rule Violation Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 99

Priority 4

fr/paris/lutece/plugins/cgu/business/Cgu.java

Rule Violation Ligne
ShortClassName Avoid short class names like Cgu 43152

Fichiers

fr/paris/lutece/plugins/cgu/business/Cgu.java

Rule Violation Priority Ligne
ShortClassName Avoid short class names like Cgu 4 43152

fr/paris/lutece/plugins/cgu/business/CguDAO.java

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

fr/paris/lutece/plugins/cgu/business/CguVersionDAO.java

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

fr/paris/lutece/plugins/cgu/service/CguService.java

Rule Violation Priority Ligne
MissingOverride The method 'findLastVersion(String)' is missing an @Override annotation. 3 5255
MissingOverride The method 'acceptCgu(String, int, String)' is missing an @Override annotation. 3 6071
MissingOverride The method 'hasAcceptedLastVersion(String, int, String)' is missing an @Override annotation. 3 7683

fr/paris/lutece/plugins/cgu/web/AbstractManageJspBean.java

Rule Violation Priority Ligne
SingularField Perhaps '_nDefaultItemsPerPage' could be replaced by a local variable. 3 71
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 101

fr/paris/lutece/plugins/cgu/web/AcceptedCguManager.java

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

fr/paris/lutece/plugins/cgu/web/CguJspBean.java

Rule Violation Priority Ligne
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 159
ConfusingTernary Avoid if (x != y) ..; else ..; 3 182
CyclomaticComplexity The method 'validateCGU(HttpServletRequest, String)' has a cyclomatic complexity of 10. 3 352388
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 366

fr/paris/lutece/plugins/cgu/web/CguXPage.java

Rule Violation Priority Ligne
UnnecessaryAnnotationValueElement Avoid the use of value in annotations when its the only element 3 99