Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/util/html/HtmlTemplate.java
Rule |
Violation |
Ligne |
AvoidFileStream |
Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter |
96 |
Priority 3
fr/paris/lutece/portal/service/template/AbstractFreeMarkerTemplateService.java
Rule |
Violation |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
66–429 |
ImmutableField |
Private field '_listPluginsMacros' could be made final; it is only initialized in the declaration or constructor. |
74 |
ImmutableField |
Private field '_mapSharedVariables' could be made final; it is only initialized in the declaration or constructor. |
75 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
75 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
76 |
ShortVariable |
Avoid variables with short names like md |
411 |
ShortVariable |
Avoid variables with short names like sb |
415 |
fr/paris/lutece/portal/service/template/IFreeMarkerTemplateService.java
Rule |
Violation |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
47–199 |
fr/paris/lutece/util/html/HtmlTemplate.java
Fichiers
fr/paris/lutece/portal/service/template/AbstractFreeMarkerTemplateService.java
Rule |
Violation |
Priority |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
3 |
66–429 |
ImmutableField |
Private field '_listPluginsMacros' could be made final; it is only initialized in the declaration or constructor. |
3 |
74 |
ImmutableField |
Private field '_mapSharedVariables' could be made final; it is only initialized in the declaration or constructor. |
3 |
75 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
75 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
76 |
ShortVariable |
Avoid variables with short names like md |
3 |
411 |
ShortVariable |
Avoid variables with short names like sb |
3 |
415 |
fr/paris/lutece/portal/service/template/IFreeMarkerTemplateService.java
Rule |
Violation |
Priority |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
3 |
47–199 |
fr/paris/lutece/util/html/HtmlTemplate.java