Résultats PMD
Le document suivant contient les résultats de PMD 6.13.0.
Violations By Priority
Priority 1
fr/paris/lutece/plugins/referencelist/service/ReferenceItemListenerService.java
fr/paris/lutece/plugins/referencelist/service/ReferenceItemPrepareImport.java
Priority 3
fr/paris/lutece/plugins/referencelist/business/CompareResult.java
Rule |
Violation |
Ligne |
DataClass |
The class 'CompareResult' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=5, WMC=10) |
44–120 |
ImmutableField |
Private field '_updateListCandidateReferenceItems' could be made final; it is only initialized in the declaration or constructor. |
53 |
ImmutableField |
Private field '_duplicateListCandidateReferenceItems' could be made final; it is only initialized in the declaration or constructor. |
54 |
ImmutableField |
Private field '_insertListCandidateReferenceItems' could be made final; it is only initialized in the declaration or constructor. |
55 |
CommentRequired |
Public method and constructor comments are required |
97–119 |
UseStringBufferForStringAppends |
Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings |
106 |
UseStringBufferForStringAppends |
Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings |
111 |
UseStringBufferForStringAppends |
Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings |
115 |
fr/paris/lutece/plugins/referencelist/business/IReferenceItemDAO.java
Rule |
Violation |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
44–157 |
fr/paris/lutece/plugins/referencelist/business/ReferenceItemDAO.java
Rule |
Violation |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
50–325 |
fr/paris/lutece/plugins/referencelist/business/ReferenceItemHome.java
fr/paris/lutece/plugins/referencelist/service/ReferenceIdService.java
fr/paris/lutece/plugins/referencelist/service/ReferenceItemListService.java
fr/paris/lutece/plugins/referencelist/service/ReferenceItemListenerService.java
fr/paris/lutece/plugins/referencelist/service/ReferenceItemPrepareImport.java
fr/paris/lutece/plugins/referencelist/service/ReferenceListService.java
fr/paris/lutece/plugins/referencelist/web/ReferenceItemJspBean.java
fr/paris/lutece/plugins/referencelist/web/ReferenceJspBean.java
fr/paris/lutece/plugins/referencelist/web/TranslationItemJspBean.java
Priority 4
fr/paris/lutece/plugins/referencelist/business/ReferenceItemDAO.java
Fichiers
fr/paris/lutece/plugins/referencelist/business/CompareResult.java
Rule |
Violation |
Priority |
Ligne |
DataClass |
The class 'CompareResult' is suspected to be a Data Class (WOC=14.286%, NOPA=0, NOAM=5, WMC=10) |
3 |
44–120 |
ImmutableField |
Private field '_updateListCandidateReferenceItems' could be made final; it is only initialized in the declaration or constructor. |
3 |
53 |
ImmutableField |
Private field '_duplicateListCandidateReferenceItems' could be made final; it is only initialized in the declaration or constructor. |
3 |
54 |
ImmutableField |
Private field '_insertListCandidateReferenceItems' could be made final; it is only initialized in the declaration or constructor. |
3 |
55 |
CommentRequired |
Public method and constructor comments are required |
3 |
97–119 |
UseStringBufferForStringAppends |
Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings |
3 |
106 |
UseStringBufferForStringAppends |
Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings |
3 |
111 |
UseStringBufferForStringAppends |
Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings |
3 |
115 |
fr/paris/lutece/plugins/referencelist/business/IReferenceItemDAO.java
Rule |
Violation |
Priority |
Ligne |
TooManyMethods |
This class has too many methods, consider refactoring it. |
3 |
44–157 |
fr/paris/lutece/plugins/referencelist/business/ReferenceItemDAO.java
fr/paris/lutece/plugins/referencelist/business/ReferenceItemHome.java
Rule |
Violation |
Priority |
Ligne |
CommentRequired |
Public method and constructor comments are required |
3 |
186–230 |
fr/paris/lutece/plugins/referencelist/service/ReferenceIdService.java
fr/paris/lutece/plugins/referencelist/service/ReferenceItemListService.java
fr/paris/lutece/plugins/referencelist/service/ReferenceItemListenerService.java
fr/paris/lutece/plugins/referencelist/service/ReferenceItemPrepareImport.java
fr/paris/lutece/plugins/referencelist/service/ReferenceListService.java
fr/paris/lutece/plugins/referencelist/web/ReferenceItemJspBean.java
fr/paris/lutece/plugins/referencelist/web/ReferenceJspBean.java
fr/paris/lutece/plugins/referencelist/web/TranslationItemJspBean.java