Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/util/html/HtmlTemplate.java

Rule Violation Line
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 96

Priority 3

fr/paris/lutece/portal/service/template/AbstractFreeMarkerTemplateService.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 66497
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
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 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 Line
TooManyMethods This class has too many methods, consider refactoring it. 48244

fr/paris/lutece/util/html/HtmlTemplate.java

Rule Violation Line
UncommentedEmptyConstructor Document empty constructor 6365
ShortVariable Avoid variables with short names like in 96
AssignmentInOperand Avoid assignments in operands 101
ShortVariable Avoid variables with short names like is 115
ShortVariable Avoid variables with short names like in 117
AssignmentInOperand Avoid assignments in operands 122

Files

fr/paris/lutece/portal/service/template/AbstractFreeMarkerTemplateService.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 66497
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
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 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 Line
TooManyMethods This class has too many methods, consider refactoring it. 3 48244

fr/paris/lutece/util/html/HtmlTemplate.java

Rule Violation Priority Line
UncommentedEmptyConstructor Document empty constructor 3 6365
ShortVariable Avoid variables with short names like in 3 96
AvoidFileStream Avoid instantiating FileInputStream, FileOutputStream, FileReader, or FileWriter 1 96
AssignmentInOperand Avoid assignments in operands 3 101
ShortVariable Avoid variables with short names like is 3 115
ShortVariable Avoid variables with short names like in 3 117
AssignmentInOperand Avoid assignments in operands 3 122