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 | 54–222 |
Rule | Violation | Ligne |
---|---|---|
GuardLogStatement | Logger calls should be surrounded by log level guards. | 255 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 306 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 54–222 |
CommentRequired | Public method and constructor comments are required | 62–114 |
AvoidReassigningLoopVariables | Avoid reassigning the loop control variable 'slot' | 75 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 100 |
CommentRequired | Public method and constructor comments are required | 116–185 |
AvoidReassigningLoopVariables | Avoid reassigning the loop control variable 'slot' | 137 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 165 |
CommentRequired | Public method and constructor comments are required | 187–220 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Enum comments are required | 36–82 |
CommentRequired | Public method and constructor comments are required | 69–80 |
Rule | Violation | Ligne |
---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 34–406 |
CommentRequired | Public method and constructor comments are required | 348–362 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 350 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' | 56 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.PluginService' | 61 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 54–222 |
CommentRequired | Header comments are required | 3 | 54–222 |
CommentRequired | Public method and constructor comments are required | 3 | 62–114 |
AvoidReassigningLoopVariables | Avoid reassigning the loop control variable 'slot' | 3 | 75 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 100 |
CommentRequired | Public method and constructor comments are required | 3 | 116–185 |
AvoidReassigningLoopVariables | Avoid reassigning the loop control variable 'slot' | 3 | 137 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 165 |
CommentRequired | Public method and constructor comments are required | 3 | 187–220 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Enum comments are required | 3 | 36–82 |
CommentRequired | Public method and constructor comments are required | 3 | 69–80 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ExcessiveImports | A high number of imports can indicate a high degree of coupling within an object. | 3 | 34–406 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.util.AppPropertiesService' | 4 | 56 |
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.portal.service.plugin.PluginService' | 4 | 61 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 255 |
GuardLogStatement | Logger calls should be surrounded by log level guards. | 2 | 306 |
CommentRequired | Public method and constructor comments are required | 3 | 348–362 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 350 |