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. 66429
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 Line
TooManyMethods This class has too many methods, consider refactoring it. 47199

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 66429
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 Line
TooManyMethods This class has too many methods, consider refactoring it. 3 47199

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