Fork me on GitHub

Résultats PMD

Le document suivant contient les résultats de PMD 6.13.0.

Violations By Priority

Priority 1

fr/paris/lutece/plugins/identitystore/modules/test/business/ITestDefinitionDAO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 126

fr/paris/lutece/plugins/identitystore/modules/test/business/ITestIdentityAttributeDAO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 126

fr/paris/lutece/plugins/identitystore/modules/test/business/ITestIdentityDAO.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 126

Priority 3

fr/paris/lutece/plugins/identitystore/modules/test/business/TestDefinitionDAO.java

Rule Violation Ligne
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 213216

fr/paris/lutece/plugins/identitystore/modules/test/business/TestIdentityAttributeDAO.java

Rule Violation Ligne
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 229232

fr/paris/lutece/plugins/identitystore/modules/test/business/TestIdentityDAO.java

Rule Violation Ligne
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 221224

fr/paris/lutece/plugins/identitystore/modules/test/web/AbstractManageTesterJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 49116
DefaultPackage Use explicit scoping instead of the default package private level 115
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 115

fr/paris/lutece/plugins/identitystore/modules/test/web/TestDefinitionJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 61300
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 121
DefaultPackage Use explicit scoping instead of the default package private level 139146
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 140146
ConfusingTernary Avoid if (x != y) ..; else ..; 166

fr/paris/lutece/plugins/identitystore/modules/test/web/TestIdentityAttributeJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 61302
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 121
DefaultPackage Use explicit scoping instead of the default package private level 140148
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 141148
ConfusingTernary Avoid if (x != y) ..; else ..; 168

fr/paris/lutece/plugins/identitystore/modules/test/web/TestIdentityJspBean.java

Rule Violation Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 61299
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 121
DefaultPackage Use explicit scoping instead of the default package private level 139146
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 140146
ConfusingTernary Avoid if (x != y) ..; else ..; 166

Fichiers

fr/paris/lutece/plugins/identitystore/modules/test/business/ITestDefinitionDAO.java

Rule Violation Priority Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 1 126

fr/paris/lutece/plugins/identitystore/modules/test/business/ITestIdentityAttributeDAO.java

Rule Violation Priority Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 1 126

fr/paris/lutece/plugins/identitystore/modules/test/business/ITestIdentityDAO.java

Rule Violation Priority Ligne
FormalParameterNamingConventions The method parameter name '_plugin' doesn't match '[a-z][a-zA-Z0-9]*' 1 126

fr/paris/lutece/plugins/identitystore/modules/test/business/TestDefinitionDAO.java

Rule Violation Priority Ligne
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 213216

fr/paris/lutece/plugins/identitystore/modules/test/business/TestIdentityAttributeDAO.java

Rule Violation Priority Ligne
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 229232

fr/paris/lutece/plugins/identitystore/modules/test/business/TestIdentityDAO.java

Rule Violation Priority Ligne
ForLoopCanBeForeach This for loop can be replaced by a foreach loop 3 221224

fr/paris/lutece/plugins/identitystore/modules/test/web/AbstractManageTesterJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 49116
DefaultPackage Use explicit scoping instead of the default package private level 3 115
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 115

fr/paris/lutece/plugins/identitystore/modules/test/web/TestDefinitionJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 61300
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 121
DefaultPackage Use explicit scoping instead of the default package private level 3 139146
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 140146
ConfusingTernary Avoid if (x != y) ..; else ..; 3 166

fr/paris/lutece/plugins/identitystore/modules/test/web/TestIdentityAttributeJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 61302
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 121
DefaultPackage Use explicit scoping instead of the default package private level 3 140148
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 141148
ConfusingTernary Avoid if (x != y) ..; else ..; 3 168

fr/paris/lutece/plugins/identitystore/modules/test/web/TestIdentityJspBean.java

Rule Violation Priority Ligne
MissingSerialVersionUID Classes implementing Serializable should set a serialVersionUID 3 61299
NullAssignment Assigning an Object to null is a code smell. Consider refactoring. 3 121
DefaultPackage Use explicit scoping instead of the default package private level 3 139146
CommentDefaultAccessModifier To avoid mistakes add a comment at the beginning of the getItemsFromIds method if you want a default access modifier 3 140146
ConfusingTernary Avoid if (x != y) ..; else ..; 3 166