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 41–205
MissingOverride The method 'getId()' is missing an @Override annotation. 59–62
MissingOverride The method 'setId(String)' is missing an @Override annotation. 70–73
CommentRequired Public method and constructor comments are required 97–100
CommentRequired Public method and constructor comments are required 102–105
CommentRequired Public method and constructor comments are required 108–111
CommentRequired Public method and constructor comments are required 115–118

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

Rule Violation Line
CommentRequired Header comments are required 63–243
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 38–250
MissingOverride The method 'getId()' is missing an @Override annotation. 58–61
MissingOverride The method 'setId(String)' is missing an @Override annotation. 69–72
CommentRequired Public method and constructor comments are required 221–224
CommentRequired Public method and constructor comments are required 226–229
CommentRequired Public method and constructor comments are required 231–234
CommentRequired Public method and constructor comments are required 236–239
CommentRequired Public method and constructor comments are required 241–244
CommentRequired Public method and constructor comments are required 246–249

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

Rule Violation Line
CommentRequired Header comments are required 44–70

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

Rule Violation Line
CommentRequired Header comments are required 47–114
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 51–52
DefaultPackage Use explicit scoping instead of the default package private level 51–52
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 41–205
MissingOverride The method 'getId()' is missing an @Override annotation. 3 59–62
MissingOverride The method 'setId(String)' is missing an @Override annotation. 3 70–73
CommentRequired Public method and constructor comments are required 3 97–100
CommentRequired Public method and constructor comments are required 3 102–105
CommentRequired Public method and constructor comments are required 3 108–111
CommentRequired Public method and constructor comments are required 3 115–118

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 63–243
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 38–250
MissingOverride The method 'getId()' is missing an @Override annotation. 3 58–61
MissingOverride The method 'setId(String)' is missing an @Override annotation. 3 69–72
CommentRequired Public method and constructor comments are required 3 221–224
CommentRequired Public method and constructor comments are required 3 226–229
CommentRequired Public method and constructor comments are required 3 231–234
CommentRequired Public method and constructor comments are required 3 236–239
CommentRequired Public method and constructor comments are required 3 241–244
CommentRequired Public method and constructor comments are required 3 246–249

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 44–70

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 47–114
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 51–52
DefaultPackage Use explicit scoping instead of the default package private level 3 51–52
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