Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/menus/business/MenuItem.java
Priority 3
fr/paris/lutece/plugins/menus/business/MenuItem.java
Rule |
Violation |
Ligne |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
49 |
fr/paris/lutece/plugins/menus/business/MenusDAO.java
fr/paris/lutece/plugins/menus/business/PageInfo.java
fr/paris/lutece/plugins/menus/service/MainTreeMenuService.java
fr/paris/lutece/plugins/menus/service/MenusPlugin.java
Rule |
Violation |
Ligne |
MissingOverride |
The method 'init()' is missing an @Override annotation. |
51–54 |
fr/paris/lutece/plugins/menus/web/AccessibilityAnchorMenuInclude.java
Rule |
Violation |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
83–98 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
111 |
fr/paris/lutece/plugins/menus/web/MainTreeMenuInclude.java
Rule |
Violation |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
86–108 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
123 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
160 |
fr/paris/lutece/plugins/menus/web/MainTreeMenuIncludeAllPages.java
Rule |
Violation |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
86–108 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
123 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
160 |
fr/paris/lutece/plugins/menus/web/MenusJspBean.java
Rule |
Violation |
Ligne |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
82 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
82 |
fr/paris/lutece/plugins/menus/web/TreeMenuPageInclude.java
Rule |
Violation |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
85–117 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
205 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
205 |
fr/paris/lutece/plugins/menus/web/XPageMenuInclude.java
Rule |
Violation |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
80–95 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
108 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
109 |
fr/paris/lutece/plugins/menus/web/rs/TreeMenuPagesRest.java
Rule |
Violation |
Ligne |
AvoidCatchingGenericException |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
112 |
Fichiers
fr/paris/lutece/plugins/menus/business/MenuItem.java
fr/paris/lutece/plugins/menus/business/MenusDAO.java
fr/paris/lutece/plugins/menus/business/PageInfo.java
Rule |
Violation |
Priority |
Ligne |
CommentDefaultAccessModifier |
To avoid mistakes add a comment at the beginning of the PageInfo constructor if you want a default access modifier |
3 |
58–64 |
ShortVariable |
Avoid variables with short names like id |
3 |
78 |
fr/paris/lutece/plugins/menus/service/MainTreeMenuService.java
fr/paris/lutece/plugins/menus/service/MenusPlugin.java
Rule |
Violation |
Priority |
Ligne |
MissingOverride |
The method 'init()' is missing an @Override annotation. |
3 |
51–54 |
fr/paris/lutece/plugins/menus/web/AccessibilityAnchorMenuInclude.java
Rule |
Violation |
Priority |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
3 |
83–98 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
111 |
fr/paris/lutece/plugins/menus/web/MainTreeMenuInclude.java
Rule |
Violation |
Priority |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
3 |
86–108 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
123 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
160 |
fr/paris/lutece/plugins/menus/web/MainTreeMenuIncludeAllPages.java
Rule |
Violation |
Priority |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
3 |
86–108 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
123 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
160 |
fr/paris/lutece/plugins/menus/web/MenusJspBean.java
Rule |
Violation |
Priority |
Ligne |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
82 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
82 |
fr/paris/lutece/plugins/menus/web/TreeMenuPageInclude.java
Rule |
Violation |
Priority |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
3 |
85–117 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
205 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
205 |
fr/paris/lutece/plugins/menus/web/XPageMenuInclude.java
Rule |
Violation |
Priority |
Ligne |
MissingOverride |
The method 'fillTemplate(Map, PageData, int, HttpServletRequest)' is missing an @Override annotation. |
3 |
80–95 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
108 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
109 |
fr/paris/lutece/plugins/menus/web/rs/TreeMenuPagesRest.java
Rule |
Violation |
Priority |
Ligne |
AvoidCatchingGenericException |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block |
3 |
112 |