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/librarymdph/service/MdphClientService.java

Rule Violation Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 18–65
FieldNamingConventions The final field name '_connection' doesn't match '[a-z][a-zA-Z0-9]*' 22

fr/paris/lutece/plugins/librarymdph/utils/MdphConnection.java

Rule Violation Ligne
FieldNamingConventions The final field name '_clientHttp' doesn't match '[a-z][a-zA-Z0-9]*' 19
FieldNamingConventions The final field name '_mapper' doesn't match '[a-z][a-zA-Z0-9]*' 20

fr/paris/lutece/plugins/librarymdph/utils/MdphConstant.java

Rule Violation Ligne
FieldNamingConventions The final field name '_value' doesn't match '[a-z][a-zA-Z0-9]*' 31

fr/paris/lutece/plugins/librarymdph/utils/MdphResponse.java

Rule Violation Ligne
FieldNamingConventions The final field name '_code' doesn't match '[a-z][a-zA-Z0-9]*' 11
FieldNamingConventions The final field name '_libelle' doesn't match '[a-z][a-zA-Z0-9]*' 12

Priority 2

fr/paris/lutece/plugins/librarymdph/service/MdphClientService.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 62

Priority 3

fr/paris/lutece/plugins/librarymdph/service/MdphClientService.java

Rule Violation Ligne
CommentRequired Public method and constructor comments are required 29–32
CommentRequired Public method and constructor comments are required 34–64

fr/paris/lutece/plugins/librarymdph/utils/MdphConnection.java

Rule Violation Ligne
CommentRequired Header comments are required 17–68
CommentRequired Public method and constructor comments are required 28–45
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 32
CommentRequired Public method and constructor comments are required 47–60
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 64

fr/paris/lutece/plugins/librarymdph/utils/MdphConstant.java

Rule Violation Ligne
CommentRequired Enum comments are required 3–42
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'MdphConstant(String)': enum constructors are implicitly private 33–36

fr/paris/lutece/plugins/librarymdph/utils/MdphRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 8–53
CommentRequired Public method and constructor comments are required 42–52
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 44

fr/paris/lutece/plugins/librarymdph/utils/MdphResponse.java

Rule Violation Ligne
CommentRequired Header comments are required 5–35
CommentRequired Public method and constructor comments are required 14–18

Fichiers

fr/paris/lutece/plugins/librarymdph/service/MdphClientService.java

Rule Violation Priority Ligne
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 18–65
FieldNamingConventions The final field name '_connection' doesn't match '[a-z][a-zA-Z0-9]*' 1 22
CommentRequired Public method and constructor comments are required 3 29–32
CommentRequired Public method and constructor comments are required 3 34–64
GuardLogStatement Logger calls should be surrounded by log level guards. 2 62

fr/paris/lutece/plugins/librarymdph/utils/MdphConnection.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 17–68
FieldNamingConventions The final field name '_clientHttp' doesn't match '[a-z][a-zA-Z0-9]*' 1 19
FieldNamingConventions The final field name '_mapper' doesn't match '[a-z][a-zA-Z0-9]*' 1 20
CommentRequired Public method and constructor comments are required 3 28–45
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 32
CommentRequired Public method and constructor comments are required 3 47–60
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 64

fr/paris/lutece/plugins/librarymdph/utils/MdphConstant.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3–42
FieldNamingConventions The final field name '_value' doesn't match '[a-z][a-zA-Z0-9]*' 1 31
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'MdphConstant(String)': enum constructors are implicitly private 3 33–36

fr/paris/lutece/plugins/librarymdph/utils/MdphRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 8–53
CommentRequired Public method and constructor comments are required 3 42–52
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 44

fr/paris/lutece/plugins/librarymdph/utils/MdphResponse.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 5–35
FieldNamingConventions The final field name '_code' doesn't match '[a-z][a-zA-Z0-9]*' 1 11
FieldNamingConventions The final field name '_libelle' doesn't match '[a-z][a-zA-Z0-9]*' 1 12
CommentRequired Public method and constructor comments are required 3 14–18