PMD Results
The following document contains the results of PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/xpageportlet/service/http/XPagePortletHttpServletRequest.java
Priority 3
fr/paris/lutece/plugins/xpageportlet/business/portlet/XPagePortletDAO.java
fr/paris/lutece/plugins/xpageportlet/business/portlet/XPagePortletHome.java
fr/paris/lutece/plugins/xpageportlet/service/http/XPagePortletHttpServletRequest.java
fr/paris/lutece/plugins/xpageportlet/web/portlet/XPagePortletJspBean.java
Rule |
Violation |
Line |
MissingSerialVersionUID |
Classes implementing Serializable should set a serialVersionUID |
62–256 |
ImmutableField |
Private field '_xPagePorletService' could be made final; it is only initialized in the declaration or constructor. |
75 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
86 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
86 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
109 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
109 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
230 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
230 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
245 |
Files
fr/paris/lutece/plugins/xpageportlet/business/portlet/XPagePortletDAO.java
fr/paris/lutece/plugins/xpageportlet/business/portlet/XPagePortletHome.java
fr/paris/lutece/plugins/xpageportlet/service/http/XPagePortletHttpServletRequest.java
fr/paris/lutece/plugins/xpageportlet/web/portlet/XPagePortletJspBean.java
Rule |
Violation |
Priority |
Line |
MissingSerialVersionUID |
Classes implementing Serializable should set a serialVersionUID |
3 |
62–256 |
ImmutableField |
Private field '_xPagePorletService' could be made final; it is only initialized in the declaration or constructor. |
3 |
75 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
86 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
86 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
109 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
109 |
UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
230 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
230 |
UseDiamondOperator |
Explicit type arguments can be replaced by Diamond Operator |
3 |
245 |