Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 5.3.5.

Fichiers

fr/paris/lutece/plugins/tipi/business/Tipi.java

Violation Ligne
A class which only has private constructors should be final 68327
Avoid short class names like Tipi 68327
Private field 'processor' could be made final; it is only initialized in the declaration or constructor. 85
debug logging that involves string concatenation should be guarded with isDebugEnabled() checks 126
debug logging that involves string concatenation should be guarded with isDebugEnabled() checks 127
debug logging that involves string concatenation should be guarded with isDebugEnabled() checks 152
debug logging that involves string concatenation should be guarded with isDebugEnabled() checks 153
Avoid empty catch blocks 242245

fr/paris/lutece/plugins/tipi/business/TipiProcessor.java

Violation Ligne
Abstract classes should be named AbstractXXX 52131
Avoid unnecessary constructors - the compiler will generate these for you 5962

fr/paris/lutece/plugins/tipi/business/TipiRequestFactory.java

Violation Ligne
Avoid variables with short names like X 51
Avoid variables with short names like W 52
Unnecessary final modifier in final class 76106

fr/paris/lutece/plugins/tipi/business/TipiTask.java

Violation Ligne
No need to import a type that lives in the same package 48
No need to import a type that lives in the same package 49
The class 'TipiTask' has a Cyclomatic Complexity of 10 (Highest = 9). 57115
Private field 'processor' could be made final; it is only initialized in the declaration or constructor. 59
Use block level rather than method level synchronization 64113
When instantiating a SimpleDateFormat object, specify a Locale 102

fr/paris/lutece/plugins/tipi/util/Constants.java

Violation Ligne
A class which only has private constructors should be final 4153

fr/paris/lutece/plugins/tipi/util/Utils.java

Violation Ligne
A class which only has private constructors should be final 56100