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–497 |
ImmutableField |
Private field '_listPluginsAutoIncludes' could be made final; it is only initialized in the declaration or constructor. |
74 |
ImmutableField |
Private field '_mapPluginsAutoImports' 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 |
ImmutableField |
Private field '_mapSharedVariables' could be made final; it is only initialized in the declaration or constructor. |
76 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
77 |
ShortVariable |
Avoid variables with short names like md |
479 |
ShortVariable |
Avoid variables with short names like sb |
483 |
fr/paris/lutece/portal/service/template/IFreeMarkerTemplateService.java
Rule |
Violation |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
48–244 |
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–497 |
ImmutableField |
Private field '_listPluginsAutoIncludes' could be made final; it is only initialized in the declaration or constructor. |
3 |
74 |
ImmutableField |
Private field '_mapPluginsAutoImports' 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 |
ImmutableField |
Private field '_mapSharedVariables' could be made final; it is only initialized in the declaration or constructor. |
3 |
76 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
77 |
ShortVariable |
Avoid variables with short names like md |
3 |
479 |
ShortVariable |
Avoid variables with short names like sb |
3 |
483 |
fr/paris/lutece/portal/service/template/IFreeMarkerTemplateService.java
Rule |
Violation |
Priority |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
3 |
48–244 |
fr/paris/lutece/util/html/HtmlTemplate.java