PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/extend/modules/feedback/util/constants/FeedbackConstants.java
Rule |
Violation |
Line |
ClassNamingConventions |
The utility class name 'FeedbackConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
42–116 |
Priority 3
fr/paris/lutece/plugins/extend/modules/feedback/business/ExtendFeedbackDAO.java
Rule |
Violation |
Line |
UseObjectForClearerAPI |
Rather than using a lot of String arguments, consider using a container object for those values. |
286–287 |
UseObjectForClearerAPI |
Rather than using a lot of String arguments, consider using a container object for those values. |
332–333 |
NPathComplexity |
The method 'constructRequest(String, String, String, String, ResourceExtenderDTO)' has an NPath complexity of 576 |
332–364 |
CyclomaticComplexity |
The method 'constructRequest(String, String, String, String, ResourceExtenderDTO)' has a cyclomatic complexity of 14. |
332–364 |
fr/paris/lutece/plugins/extend/modules/feedback/business/IExtendFeedbackDAO.java
Rule |
Violation |
Line |
UseObjectForClearerAPI |
Rather than using a lot of String arguments, consider using a container object for those values. |
126 |
fr/paris/lutece/plugins/extend/modules/feedback/business/config/FeedbackExtenderConfigDAO.java
fr/paris/lutece/plugins/extend/modules/feedback/service/ExtendFeedbackService.java
fr/paris/lutece/plugins/extend/modules/feedback/service/extender/FeedbackResourceExtender.java
fr/paris/lutece/plugins/extend/modules/feedback/web/FeedbackApp.java
Rule |
Violation |
Line |
ImmutableField |
Private field '_feedbackCaptchaService' could be made final; it is only initialized in the declaration or constructor. |
75 |
ImmutableField |
Private field '_extendFeedbackService' could be made final; it is only initialized in the declaration or constructor. |
76 |
ImmutableField |
Private field '_configService' could be made final; it is only initialized in the declaration or constructor. |
77 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
93 |
fr/paris/lutece/plugins/extend/modules/feedback/web/FeedbackJspBean.java
Rule |
Violation |
Line |
ImmutableField |
Private field '_extendFeedbackService' could be made final; it is only initialized in the declaration or constructor. |
88 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
122 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
184 |
fr/paris/lutece/plugins/extend/modules/feedback/web/FeedbackTypeJspBean.java
fr/paris/lutece/plugins/extend/modules/feedback/web/action/FeedbackInstallerPluginAction.java
fr/paris/lutece/plugins/extend/modules/feedback/web/component/FeedbackResourceExtenderComponent.java
Rule |
Violation |
Line |
ExcessiveImports |
A high number of imports can indicate a high degree of coupling within an object. |
34–270 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
130 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
162 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
189 |
Priority 4
fr/paris/lutece/plugins/extend/modules/feedback/business/FeedbackType.java
Files
fr/paris/lutece/plugins/extend/modules/feedback/business/ExtendFeedbackDAO.java
Rule |
Violation |
Priority |
Line |
UseObjectForClearerAPI |
Rather than using a lot of String arguments, consider using a container object for those values. |
3 |
286–287 |
UseObjectForClearerAPI |
Rather than using a lot of String arguments, consider using a container object for those values. |
3 |
332–333 |
NPathComplexity |
The method 'constructRequest(String, String, String, String, ResourceExtenderDTO)' has an NPath complexity of 576 |
3 |
332–364 |
CyclomaticComplexity |
The method 'constructRequest(String, String, String, String, ResourceExtenderDTO)' has a cyclomatic complexity of 14. |
3 |
332–364 |
fr/paris/lutece/plugins/extend/modules/feedback/business/FeedbackType.java
fr/paris/lutece/plugins/extend/modules/feedback/business/IExtendFeedbackDAO.java
Rule |
Violation |
Priority |
Line |
UseObjectForClearerAPI |
Rather than using a lot of String arguments, consider using a container object for those values. |
3 |
126 |
fr/paris/lutece/plugins/extend/modules/feedback/business/config/FeedbackExtenderConfigDAO.java
fr/paris/lutece/plugins/extend/modules/feedback/service/ExtendFeedbackService.java
fr/paris/lutece/plugins/extend/modules/feedback/service/extender/FeedbackResourceExtender.java
fr/paris/lutece/plugins/extend/modules/feedback/util/constants/FeedbackConstants.java
Rule |
Violation |
Priority |
Line |
ClassNamingConventions |
The utility class name 'FeedbackConstants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' |
1 |
42–116 |
fr/paris/lutece/plugins/extend/modules/feedback/web/FeedbackApp.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field '_feedbackCaptchaService' could be made final; it is only initialized in the declaration or constructor. |
3 |
75 |
ImmutableField |
Private field '_extendFeedbackService' could be made final; it is only initialized in the declaration or constructor. |
3 |
76 |
ImmutableField |
Private field '_configService' could be made final; it is only initialized in the declaration or constructor. |
3 |
77 |
PrematureDeclaration |
Avoid declaring a variable if it is unreferenced before a possible exit point. |
3 |
93 |
fr/paris/lutece/plugins/extend/modules/feedback/web/FeedbackJspBean.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field '_extendFeedbackService' could be made final; it is only initialized in the declaration or constructor. |
3 |
88 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
122 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
184 |
fr/paris/lutece/plugins/extend/modules/feedback/web/FeedbackTypeJspBean.java
fr/paris/lutece/plugins/extend/modules/feedback/web/action/FeedbackInstallerPluginAction.java
fr/paris/lutece/plugins/extend/modules/feedback/web/component/FeedbackResourceExtenderComponent.java
Rule |
Violation |
Priority |
Line |
ExcessiveImports |
A high number of imports can indicate a high degree of coupling within an object. |
3 |
34–270 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
130 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
162 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
189 |