The following document contains the results of PMD 6.13.0.
Rule | Violation | Line |
---|---|---|
FormalParameterNamingConventions | The method parameter name '_strLuteceUserAttributeKey' doesn't match '[a-z][a-zA-Z0-9]*' | 135 |
FormalParameterNamingConventions | The method parameter name '_strLuteceUserAttributeValue' doesn't match '[a-z][a-zA-Z0-9]*' | 153 |
FormalParameterNamingConventions | The method parameter name '_strRole' doesn't match '[a-z][a-zA-Z0-9]*' | 171 |
Rule | Violation | Line |
---|---|---|
ImmutableField | Private field '_listAutomaticRoleConfiguration' could be made final; it is only initialized in the declaration or constructor. | 57 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 92 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 113 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 118–144 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 7–12 |
CommentRequired | Public method and constructor comments are required | 10 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getPredicate': the method is declared in an interface type | 10 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 9–28 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the _biPredicate field if you want a default access modifier | 11 |
DefaultPackage | Use explicit scoping instead of the default package private level | 11 |
CommentRequired | Public method and constructor comments are required | 13–20 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 17–18 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 18 |
Rule | Violation | Line |
---|---|---|
CommentRequired | Header comments are required | 9–26 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the _biPredicate field if you want a default access modifier | 11 |
DefaultPackage | Use explicit scoping instead of the default package private level | 11 |
CommentRequired | Public method and constructor comments are required | 13–18 |
Rule | Violation | Priority | Line |
---|---|---|---|
FormalParameterNamingConventions | The method parameter name '_strLuteceUserAttributeKey' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 135 |
FormalParameterNamingConventions | The method parameter name '_strLuteceUserAttributeValue' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 153 |
FormalParameterNamingConventions | The method parameter name '_strRole' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 171 |
Rule | Violation | Priority | Line |
---|---|---|---|
ImmutableField | Private field '_listAutomaticRoleConfiguration' could be made final; it is only initialized in the declaration or constructor. | 3 | 57 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 92 |
UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 113 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 118–144 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 7–12 |
CommentRequired | Public method and constructor comments are required | 3 | 10 |
UnnecessaryModifier | Unnecessary modifier 'public' on method 'getPredicate': the method is declared in an interface type | 3 | 10 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 9–28 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the _biPredicate field if you want a default access modifier | 3 | 11 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 11 |
CommentRequired | Public method and constructor comments are required | 3 | 13–20 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 17–18 |
UseLocaleWithCaseConversions | When doing a String.toLowerCase()/toUpperCase() call, use a Locale | 3 | 18 |
Rule | Violation | Priority | Line |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 9–26 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the _biPredicate field if you want a default access modifier | 3 | 11 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 11 |
CommentRequired | Public method and constructor comments are required | 3 | 13–18 |