PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 3
fr/paris/lutece/plugins/extend/modules/actionbar/business/ActionButtonDAO.java
fr/paris/lutece/plugins/extend/modules/actionbar/business/ActionButtonHome.java
fr/paris/lutece/plugins/extend/modules/actionbar/business/IActionButtonDAO.java
Rule |
Violation |
Line |
TooManyMethods |
This class has too many methods, consider refactoring it. |
45–140 |
fr/paris/lutece/plugins/extend/modules/actionbar/business/config/ActionbarExtenderConfig.java
Rule |
Violation |
Line |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
47 |
fr/paris/lutece/plugins/extend/modules/actionbar/business/config/ActionbarExtenderConfigDAO.java
fr/paris/lutece/plugins/extend/modules/actionbar/service/ActionbarResourceIdService.java
fr/paris/lutece/plugins/extend/modules/actionbar/web/ActionbarJspBean.java
Rule |
Violation |
Line |
ImmutableField |
Private field '_actionbarService' could be made final; it is only initialized in the declaration or constructor. |
133 |
ImmutableField |
Private field '_resourceTypeService' could be made final; it is only initialized in the declaration or constructor. |
134 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
149–151 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
159 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
159 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
164 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
164 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
211 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
211 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
317 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
317 |
fr/paris/lutece/plugins/extend/modules/actionbar/web/action/ActionbarInstallerPluginAction.java
fr/paris/lutece/plugins/extend/modules/actionbar/web/component/ActionbarResourceExtenderComponent.java
Priority 4
fr/paris/lutece/plugins/extend/modules/actionbar/business/config/ActionbarExtenderConfig.java
Files
fr/paris/lutece/plugins/extend/modules/actionbar/business/ActionButtonDAO.java
fr/paris/lutece/plugins/extend/modules/actionbar/business/ActionButtonHome.java
fr/paris/lutece/plugins/extend/modules/actionbar/business/IActionButtonDAO.java
Rule |
Violation |
Priority |
Line |
TooManyMethods |
This class has too many methods, consider refactoring it. |
3 |
45–140 |
fr/paris/lutece/plugins/extend/modules/actionbar/business/config/ActionbarExtenderConfig.java
fr/paris/lutece/plugins/extend/modules/actionbar/business/config/ActionbarExtenderConfigDAO.java
fr/paris/lutece/plugins/extend/modules/actionbar/service/ActionbarResourceIdService.java
fr/paris/lutece/plugins/extend/modules/actionbar/web/ActionbarJspBean.java
Rule |
Violation |
Priority |
Line |
ImmutableField |
Private field '_actionbarService' could be made final; it is only initialized in the declaration or constructor. |
3 |
133 |
ImmutableField |
Private field '_resourceTypeService' could be made final; it is only initialized in the declaration or constructor. |
3 |
134 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
149–151 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
159 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
159 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
164 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
164 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
211 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
211 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
317 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
317 |
fr/paris/lutece/plugins/extend/modules/actionbar/web/action/ActionbarInstallerPluginAction.java
fr/paris/lutece/plugins/extend/modules/actionbar/web/component/ActionbarResourceExtenderComponent.java
Rule |
Violation |
Priority |
Line |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
125 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
125 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
138 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
138 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
176 |