Le document suivant contient les résultats de PMD 6.13.0.
Rule | Violation | Ligne |
---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 47–118 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 42–58 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 43–57 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 66–69 |
CommentRequired | Public method and constructor comments are required | 71–74 |
CommentRequired | Header comments are required | 76–203 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 76 |
ImmutableField | Private field '_generator' could be made final; it is only initialized in the declaration or constructor. | 79 |
ImmutableField | Private field '_user' could be made final; it is only initialized in the declaration or constructor. | 80 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 116–158 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 123 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 123 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 126 |
OptimizableToArrayCall | This call to Collection.toArray() may be optimizable | 176 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 47–118 |
ImmutableField | Private field '_fileStoreServiceProvider' could be made final; it is only initialized in the declaration or constructor. | 51 |
CommentRequired | Public method and constructor comments are required | 59–62 |
CommentRequired | Public method and constructor comments are required | 64–72 |
CommentRequired | Public method and constructor comments are required | 74–89 |
CommentRequired | Public method and constructor comments are required | 91–104 |
CommentRequired | Public method and constructor comments are required | 106–117 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Public method and constructor comments are required | 90–106 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 94 |
CommentRequired | Public method and constructor comments are required | 108–134 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 129 |
CommentRequired | Public method and constructor comments are required | 136–149 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 42–58 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 43–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 66–69 |
CommentRequired | Public method and constructor comments are required | 3 | 71–74 |
CommentRequired | Header comments are required | 3 | 76–203 |
DoNotUseThreads | To be compliant to J2EE, a webapp should not use any thread. | 3 | 76 |
ImmutableField | Private field '_generator' could be made final; it is only initialized in the declaration or constructor. | 3 | 79 |
ImmutableField | Private field '_user' could be made final; it is only initialized in the declaration or constructor. | 3 | 80 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 116–158 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 123 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 123 |
AccessorMethodGeneration | Avoid autogenerated methods to access private fields and methods of inner / outer classes | 3 | 126 |
OptimizableToArrayCall | This call to Collection.toArray() may be optimizable | 3 | 176 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 47–118 |
CommentRequired | Header comments are required | 3 | 47–118 |
ImmutableField | Private field '_fileStoreServiceProvider' could be made final; it is only initialized in the declaration or constructor. | 3 | 51 |
CommentRequired | Public method and constructor comments are required | 3 | 59–62 |
CommentRequired | Public method and constructor comments are required | 3 | 64–72 |
CommentRequired | Public method and constructor comments are required | 3 | 74–89 |
CommentRequired | Public method and constructor comments are required | 3 | 91–104 |
CommentRequired | Public method and constructor comments are required | 3 | 106–117 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Public method and constructor comments are required | 3 | 90–106 |
UseConcurrentHashMap | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | 3 | 94 |
CommentRequired | Public method and constructor comments are required | 3 | 108–134 |
ConfusingTernary | Avoid if (x != y) ..; else ..; | 3 | 129 |
CommentRequired | Public method and constructor comments are required | 3 | 136–149 |