Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/asynchronousupload/service/AbstractAsynchronousUploadHandler.java
Priority 3
fr/paris/lutece/plugins/asynchronousupload/service/AbstractAsynchronousUploadHandler.java
fr/paris/lutece/plugins/asynchronousupload/service/AsynchronousUploadHandler.java
fr/paris/lutece/plugins/asynchronousupload/service/AsynchronousUploadSessionListener.java
fr/paris/lutece/plugins/asynchronousupload/service/IAsyncUploadHandler.java
fr/paris/lutece/plugins/asynchronousupload/service/PartialFileItemGroup.java
Rule |
Violation |
Ligne |
ImmutableField |
Private field '_items' could be made final; it is only initialized in the declaration or constructor. |
61 |
ImmutableField |
Private field '_sequenceInputStream' could be made final; it is only initialized in the declaration or constructor. |
62 |
fr/paris/lutece/plugins/asynchronousupload/service/UploadCacheService.java
fr/paris/lutece/plugins/asynchronousupload/util/JSONUtils.java
fr/paris/lutece/plugins/asynchronousupload/web/AsynchronousUploadApp.java
Rule |
Violation |
Ligne |
NPathComplexity |
The method 'getMainUploadJs(HttpServletRequest, Boolean)' has an NPath complexity of 512 |
109–208 |
NcssCount |
The method 'getMainUploadJs(HttpServletRequest, Boolean)' has a NCSS line count of 60. |
109–208 |
CyclomaticComplexity |
The method 'getMainUploadJs(HttpServletRequest, Boolean)' has a cyclomatic complexity of 10. |
109–208 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
113 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
124 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
179 |
Fichiers
fr/paris/lutece/plugins/asynchronousupload/service/AbstractAsynchronousUploadHandler.java
fr/paris/lutece/plugins/asynchronousupload/service/AsynchronousUploadHandler.java
fr/paris/lutece/plugins/asynchronousupload/service/AsynchronousUploadSessionListener.java
fr/paris/lutece/plugins/asynchronousupload/service/IAsyncUploadHandler.java
fr/paris/lutece/plugins/asynchronousupload/service/PartialFileItemGroup.java
Rule |
Violation |
Priority |
Ligne |
ImmutableField |
Private field '_items' could be made final; it is only initialized in the declaration or constructor. |
3 |
61 |
ImmutableField |
Private field '_sequenceInputStream' could be made final; it is only initialized in the declaration or constructor. |
3 |
62 |
fr/paris/lutece/plugins/asynchronousupload/service/UploadCacheService.java
fr/paris/lutece/plugins/asynchronousupload/util/JSONUtils.java
fr/paris/lutece/plugins/asynchronousupload/web/AsynchronousUploadApp.java
Rule |
Violation |
Priority |
Ligne |
NPathComplexity |
The method 'getMainUploadJs(HttpServletRequest, Boolean)' has an NPath complexity of 512 |
3 |
109–208 |
NcssCount |
The method 'getMainUploadJs(HttpServletRequest, Boolean)' has a NCSS line count of 60. |
3 |
109–208 |
CyclomaticComplexity |
The method 'getMainUploadJs(HttpServletRequest, Boolean)' has a cyclomatic complexity of 10. |
3 |
109–208 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
113 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
124 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
179 |