Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 3
fr/paris/lutece/plugins/regularexpression/business/RegularExpressionDAO.java
Rule |
Violation |
Ligne |
MissingOverride |
The method 'insert(RegularExpression, Plugin)' is missing an @Override annotation. |
89–102 |
MissingOverride |
The method 'load(int, Plugin)' is missing an @Override annotation. |
113–133 |
MissingOverride |
The method 'delete(int, Plugin)' is missing an @Override annotation. |
143–150 |
MissingOverride |
The method 'store(RegularExpression, Plugin)' is missing an @Override annotation. |
160–173 |
MissingOverride |
The method 'selectListRegularExpression(Plugin)' is missing an @Override annotation. |
182–202 |
fr/paris/lutece/plugins/regularexpression/service/RegularExpressionPlugin.java
fr/paris/lutece/plugins/regularexpression/service/RegularExpressionService.java
Rule |
Violation |
Ligne |
MissingOverride |
The method 'isPatternValide(String)' is missing an @Override annotation. |
61–73 |
MissingOverride |
The method 'isPatternValide(RegularExpression)' is missing an @Override annotation. |
82–94 |
MissingOverride |
The method 'isMatches(String, String)' is missing an @Override annotation. |
105–121 |
MissingOverride |
The method 'isMatches(String, RegularExpression)' is missing an @Override annotation. |
132–148 |
MissingOverride |
The method 'getRegularExpressionByKey(int)' is missing an @Override annotation. |
157–162 |
MissingOverride |
The method 'getAllRegularExpression()' is missing an @Override annotation. |
169–174 |
fr/paris/lutece/plugins/regularexpression/web/RegularExpressionJspBean.java
Fichiers
fr/paris/lutece/plugins/regularexpression/business/RegularExpressionDAO.java
Rule |
Violation |
Priority |
Ligne |
MissingOverride |
The method 'insert(RegularExpression, Plugin)' is missing an @Override annotation. |
3 |
89–102 |
MissingOverride |
The method 'load(int, Plugin)' is missing an @Override annotation. |
3 |
113–133 |
MissingOverride |
The method 'delete(int, Plugin)' is missing an @Override annotation. |
3 |
143–150 |
MissingOverride |
The method 'store(RegularExpression, Plugin)' is missing an @Override annotation. |
3 |
160–173 |
MissingOverride |
The method 'selectListRegularExpression(Plugin)' is missing an @Override annotation. |
3 |
182–202 |
fr/paris/lutece/plugins/regularexpression/service/RegularExpressionPlugin.java
fr/paris/lutece/plugins/regularexpression/service/RegularExpressionService.java
Rule |
Violation |
Priority |
Ligne |
MissingOverride |
The method 'isPatternValide(String)' is missing an @Override annotation. |
3 |
61–73 |
MissingOverride |
The method 'isPatternValide(RegularExpression)' is missing an @Override annotation. |
3 |
82–94 |
MissingOverride |
The method 'isMatches(String, String)' is missing an @Override annotation. |
3 |
105–121 |
MissingOverride |
The method 'isMatches(String, RegularExpression)' is missing an @Override annotation. |
3 |
132–148 |
MissingOverride |
The method 'getRegularExpressionByKey(int)' is missing an @Override annotation. |
3 |
157–162 |
MissingOverride |
The method 'getAllRegularExpression()' is missing an @Override annotation. |
3 |
169–174 |
fr/paris/lutece/plugins/regularexpression/web/RegularExpressionJspBean.java
Rule |
Violation |
Priority |
Ligne |
ImmutableField |
Private field '_nDefaultItemsPerPage' could be made final; it is only initialized in the declaration or constructor. |
3 |
123 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
138 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
166 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
207 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
208 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
209 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
211 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
211 |
ConfusingTernary |
Avoid if (x != y) ..; else ..; |
3 |
215–231 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
253 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
254 |
ConfusingTernary |
Avoid if (x != y) ..; else ..; |
3 |
258–274 |
NPathComplexity |
The method 'getRegularExpressionData(HttpServletRequest, RegularExpression)' has an NPath complexity of 1536 |
3 |
367–434 |
CyclomaticComplexity |
The method 'getRegularExpressionData(HttpServletRequest, RegularExpression)' has a cyclomatic complexity of 14. |
3 |
367–434 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
369 |