Le document suivant contient les résultats de PMD 6.13.0.
Rule | Violation | Ligne |
---|---|---|
CyclomaticComplexity | The method 'createOrUpdate(ResourceEvent, DataSource)' has a cyclomatic complexity of 10. | 63–125 |
AvoidDuplicateLiterals | The String literal "documentTypeName.keyword : formResponse and formId : " appears 4 times in this file; the first occurrence is on line 73 | 73 |
UnusedFormalParameter | Avoid unused method parameters such as 'strIdDashboard'. | 137 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 164 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 172 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 176 |
AvoidDuplicateLiterals | The String literal "attributes" appears 4 times in this file; the first occurrence is on line 192 | 192 |
AvoidDuplicateLiterals | The String literal "visState" appears 4 times in this file; the first occurrence is on line 192 | 192 |
Rule | Violation | Ligne |
---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 55–56 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 42–100 |
UnusedFormalParameter | Avoid unused method parameters such as 'nIdTask'. | 79 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CyclomaticComplexity | The method 'createOrUpdate(ResourceEvent, DataSource)' has a cyclomatic complexity of 10. | 3 | 63–125 |
AvoidDuplicateLiterals | The String literal "documentTypeName.keyword : formResponse and formId : " appears 4 times in this file; the first occurrence is on line 73 | 3 | 73 |
UnusedFormalParameter | Avoid unused method parameters such as 'strIdDashboard'. | 3 | 137 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 164 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 172 |
UseStringBufferForStringAppends | Prefer StringBuilder (non-synchronized) or StringBuffer (synchronized) over += for concatenating strings | 3 | 176 |
AvoidDuplicateLiterals | The String literal "attributes" appears 4 times in this file; the first occurrence is on line 192 | 3 | 192 |
AvoidDuplicateLiterals | The String literal "visState" appears 4 times in this file; the first occurrence is on line 192 | 3 | 192 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UncommentedEmptyMethodBody | Document empty method body | 3 | 55–56 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–100 |
UnusedFormalParameter | Avoid unused method parameters such as 'nIdTask'. | 3 | 79 |