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/kibana/modules/forms/service/DataVisualizerService.java

Rule Violation Line
CyclomaticComplexity The method 'createOrUpdate(ResourceEvent, DataSource)' has a cyclomatic complexity of 10. 63125
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

fr/paris/lutece/plugins/kibana/modules/forms/service/KibanaFormsPlugin.java

Rule Violation Line
UncommentedEmptyMethodBody Document empty method body 5556

fr/paris/lutece/plugins/kibana/modules/forms/service/listener/FormResponseIndexerEventListener.java

Rule Violation Line
CommentRequired Header comments are required 42100
UnusedFormalParameter Avoid unused method parameters such as 'nIdTask'. 79

Files

fr/paris/lutece/plugins/kibana/modules/forms/service/DataVisualizerService.java

Rule Violation Priority Line
CyclomaticComplexity The method 'createOrUpdate(ResourceEvent, DataSource)' has a cyclomatic complexity of 10. 3 63125
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

fr/paris/lutece/plugins/kibana/modules/forms/service/KibanaFormsPlugin.java

Rule Violation Priority Line
UncommentedEmptyMethodBody Document empty method body 3 5556

fr/paris/lutece/plugins/kibana/modules/forms/service/listener/FormResponseIndexerEventListener.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 42100
UnusedFormalParameter Avoid unused method parameters such as 'nIdTask'. 3 79