Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/elasticdata/modules/workflow/business/WorkflowDataSource.java

Rule Violation Line
LocalVariableNamingConventions The local variable name 'WorkflowDataObject' doesn't match '[a-z][a-zA-Z0-9]*' 119

fr/paris/lutece/plugins/elasticdata/modules/workflow/service/listener/WorkflowEventListener.java

Rule Violation Line
FieldNamingConventions The field name '_WorkflowDataSource' doesn't match '_[a-z][a-zA-Z0-9]*' 50
FieldNamingConventions The field name 'WorkflowResourceType' doesn't match '_[a-z][a-zA-Z0-9]*' 51

Priority 3

fr/paris/lutece/plugins/elasticdata/modules/workflow/business/WorkflowDataObject.java

Rule Violation Line
CommentRequired Header comments are required 41205
MissingOverride The method 'getId()' is missing an @Override annotation. 5962
MissingOverride The method 'setId(String)' is missing an @Override annotation. 7073
CommentRequired Public method and constructor comments are required 97100
CommentRequired Public method and constructor comments are required 102105
CommentRequired Public method and constructor comments are required 108111
CommentRequired Public method and constructor comments are required 115118

fr/paris/lutece/plugins/elasticdata/modules/workflow/business/WorkflowDataSource.java

Rule Violation Line
CommentRequired Header comments are required 63243
UseArrayListInsteadOfVector Use ArrayList instead of Vector 92
ShortVariable Avoid variables with short names like wf 101

fr/paris/lutece/plugins/elasticdata/modules/workflow/business/WorkflowResourceHistory.java

Rule Violation Line
CommentRequired Header comments are required 38250
MissingOverride The method 'getId()' is missing an @Override annotation. 5861
MissingOverride The method 'setId(String)' is missing an @Override annotation. 6972
CommentRequired Public method and constructor comments are required 221224
CommentRequired Public method and constructor comments are required 226229
CommentRequired Public method and constructor comments are required 231234
CommentRequired Public method and constructor comments are required 236239
CommentRequired Public method and constructor comments are required 241244
CommentRequired Public method and constructor comments are required 246249

fr/paris/lutece/plugins/elasticdata/modules/workflow/service/WorkflowElasticdataSearchPlugin.java

Rule Violation Line
CommentRequired Header comments are required 4470

fr/paris/lutece/plugins/elasticdata/modules/workflow/service/listener/WorkflowEventListener.java

Rule Violation Line
CommentRequired Header comments are required 47114
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _WorkflowDataSource field if you want a default access modifier 50
DefaultPackage Use explicit scoping instead of the default package private level 50
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the WorkflowResourceType field if you want a default access modifier 5152
DefaultPackage Use explicit scoping instead of the default package private level 5152
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 66
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 77
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 88

Priority 4

fr/paris/lutece/plugins/elasticdata/modules/workflow/business/WorkflowDataSource.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.sql.Timestamp' due to existing import 'java.sql.Timestamp' 237
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.sql.Timestamp' due to existing import 'java.sql.Timestamp' 237

Files

fr/paris/lutece/plugins/elasticdata/modules/workflow/business/WorkflowDataObject.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 41205
MissingOverride The method 'getId()' is missing an @Override annotation. 3 5962
MissingOverride The method 'setId(String)' is missing an @Override annotation. 3 7073
CommentRequired Public method and constructor comments are required 3 97100
CommentRequired Public method and constructor comments are required 3 102105
CommentRequired Public method and constructor comments are required 3 108111
CommentRequired Public method and constructor comments are required 3 115118

fr/paris/lutece/plugins/elasticdata/modules/workflow/business/WorkflowDataSource.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 63243
UseArrayListInsteadOfVector Use ArrayList instead of Vector 3 92
ShortVariable Avoid variables with short names like wf 3 101
LocalVariableNamingConventions The local variable name 'WorkflowDataObject' doesn't match '[a-z][a-zA-Z0-9]*' 1 119
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.sql.Timestamp' due to existing import 'java.sql.Timestamp' 4 237
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.sql.Timestamp' due to existing import 'java.sql.Timestamp' 4 237

fr/paris/lutece/plugins/elasticdata/modules/workflow/business/WorkflowResourceHistory.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 38250
MissingOverride The method 'getId()' is missing an @Override annotation. 3 5861
MissingOverride The method 'setId(String)' is missing an @Override annotation. 3 6972
CommentRequired Public method and constructor comments are required 3 221224
CommentRequired Public method and constructor comments are required 3 226229
CommentRequired Public method and constructor comments are required 3 231234
CommentRequired Public method and constructor comments are required 3 236239
CommentRequired Public method and constructor comments are required 3 241244
CommentRequired Public method and constructor comments are required 3 246249

fr/paris/lutece/plugins/elasticdata/modules/workflow/service/WorkflowElasticdataSearchPlugin.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 4470

fr/paris/lutece/plugins/elasticdata/modules/workflow/service/listener/WorkflowEventListener.java

Rule Violation Priority Line
CommentRequired Header comments are required 3 47114
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the _WorkflowDataSource field if you want a default access modifier 3 50
DefaultPackage Use explicit scoping instead of the default package private level 3 50
FieldNamingConventions The field name '_WorkflowDataSource' doesn't match '_[a-z][a-zA-Z0-9]*' 1 50
FieldNamingConventions The field name 'WorkflowResourceType' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the WorkflowResourceType field if you want a default access modifier 3 5152
DefaultPackage Use explicit scoping instead of the default package private level 3 5152
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 66
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 77
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 88