Fork me on GitHub

PMD Results

The following document contains the results of PMD 5.3.5.

Files

fr/paris/lutece/plugins/uploadimage/business/Options.java

Violation Line
This class has a bunch of public methods and attributes 34507
Avoid unused imports such as 'javax.validation.constraints' 36
Avoid unused imports such as 'org.hibernate.validator.constraints' 37
Too many fields 43507
A getX() method which returns a boolean should be named isX() 118121
A getX() method which returns a boolean should be named isX() 135138
A getX() method which returns a boolean should be named isX() 152155
A getX() method which returns a boolean should be named isX() 169172
A getX() method which returns a boolean should be named isX() 186189
A getX() method which returns a boolean should be named isX() 203206
A getX() method which returns a boolean should be named isX() 220223
A getX() method which returns a boolean should be named isX() 237240
A getX() method which returns a boolean should be named isX() 254257
A getX() method which returns a boolean should be named isX() 271274
A getX() method which returns a boolean should be named isX() 288291
A getX() method which returns a boolean should be named isX() 305308
A getX() method which returns a boolean should be named isX() 322325
A getX() method which returns a boolean should be named isX() 339342
A getX() method which returns a boolean should be named isX() 356359
A getX() method which returns a boolean should be named isX() 373376
A getX() method which returns a boolean should be named isX() 390393
Avoid variables with short names like nX 450
Avoid variables with short names like nY 467

fr/paris/lutece/plugins/uploadimage/service/IImageService.java

Violation Line
Avoid modifiers which are implied by the context 7

fr/paris/lutece/plugins/uploadimage/service/UploadImageCacheService.java

Violation Line
It is a good practice to call super() in a constructor 1720

fr/paris/lutece/plugins/uploadimage/web/ManageUploadimageJspBean.java

Violation Line
Do not add empty strings 126
Do not add empty strings 154
Avoid variables with short names like nX 185
Avoid variables with short names like nY 186
The String literal "action" appears 4 times in this file; the first occurrence is on line 193 193
Position literals first in String comparisons 222

fr/paris/lutece/plugins/uploadimage/web/UploadimageApp.java

Violation Line
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPathService' 44
Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPathService' 44
Avoid unused imports such as 'org.apache.commons.lang.StringUtils' 52
Avoid unused imports such as 'org.apache.commons.lang.StringUtils' 52
Avoid unused private fields such as 'IDOPTION'. 67
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 80
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 110