The following document contains the results of PMD 6.13.0.
| Rule | Violation | Line |
|---|---|---|
| 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 | Line |
|---|---|---|
| UncommentedEmptyMethodBody | Document empty method body | 55–56 |
| Rule | Violation | Line |
|---|---|---|
| CommentRequired | Header comments are required | 42–100 |
| UnusedFormalParameter | Avoid unused method parameters such as 'nIdTask'. | 79 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| 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 | Line |
|---|---|---|---|
| UncommentedEmptyMethodBody | Document empty method body | 3 | 55–56 |
| Rule | Violation | Priority | Line |
|---|---|---|---|
| CommentRequired | Header comments are required | 3 | 42–100 |
| UnusedFormalParameter | Avoid unused method parameters such as 'nIdTask'. | 3 | 79 |