Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 3

fr/paris/lutece/plugins/pagelinkservice/business/PageLinkService.java

Rule Violation Line
MissingOverride The method 'getWorkgroup()' is missing an @Override annotation. 107110

fr/paris/lutece/plugins/pagelinkservice/business/PageLinkServiceDAO.java

Rule Violation Line
DefaultPackage Use explicit scoping instead of the default package private level 6265
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getInstance method if you want a default access modifier 6265
DefaultPackage Use explicit scoping instead of the default package private level 75105
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the selectPageListbyName method if you want a default access modifier 75105

fr/paris/lutece/plugins/pagelinkservice/web/PageLinkServiceJspBean.java

Rule Violation Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 70244
ImmutableField Private field '_pageService' could be made final; it is only initialized in the declaration or constructor. 106
MissingOverride The method 'getInsertServiceSelectorUI(HttpServletRequest)' is missing an @Override annotation. 117158
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 129
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 202
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 203
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 204
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 205
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 205
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 207
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 236

Files

fr/paris/lutece/plugins/pagelinkservice/business/PageLinkService.java

Rule Violation Priority Line
MissingOverride The method 'getWorkgroup()' is missing an @Override annotation. 3 107110

fr/paris/lutece/plugins/pagelinkservice/business/PageLinkServiceDAO.java

Rule Violation Priority Line
DefaultPackage Use explicit scoping instead of the default package private level 3 6265
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getInstance method if you want a default access modifier 3 6265
DefaultPackage Use explicit scoping instead of the default package private level 3 75105
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the selectPageListbyName method if you want a default access modifier 3 75105

fr/paris/lutece/plugins/pagelinkservice/web/PageLinkServiceJspBean.java

Rule Violation Priority Line
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 70244
ImmutableField Private field '_pageService' could be made final; it is only initialized in the declaration or constructor. 3 106
MissingOverride The method 'getInsertServiceSelectorUI(HttpServletRequest)' is missing an @Override annotation. 3 117158
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 129
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 202
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 203
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 204
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 205
UseDiamondOperator Explicit type arguments can be replaced by Diamond Operator 3 205
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 207
LooseCoupling Avoid using implementation types like 'HashMap'; use the interface instead 3 236