Fork me on GitHub

PMD Results

The following document contains the results of PMD 6.13.0.

Violations By Priority

Priority 1

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

Rule Violation Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1865
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 Line
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 Line
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 Line
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 Line
GuardLogStatement Logger calls should be surrounded by log level guards. 62

Priority 3

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

Rule Violation Line
CommentRequired Public method and constructor comments are required 2932
CommentRequired Public method and constructor comments are required 3464

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

Rule Violation Line
CommentRequired Header comments are required 1768
CommentRequired Public method and constructor comments are required 2845
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 4760
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 Line
CommentRequired Enum comments are required 342
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'MdphConstant(String)': enum constructors are implicitly private 3336

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

Rule Violation Line
CommentRequired Header comments are required 853
CommentRequired Public method and constructor comments are required 4252
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 Line
CommentRequired Header comments are required 535
CommentRequired Public method and constructor comments are required 1418

Files

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

Rule Violation Priority Line
ClassWithOnlyPrivateConstructorsShouldBeFinal A class which only has private constructors should be final 1 1865
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 2932
CommentRequired Public method and constructor comments are required 3 3464
GuardLogStatement Logger calls should be surrounded by log level guards. 2 62

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 1768
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 2845
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 4760
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 Line
CommentRequired Enum comments are required 3 342
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 3336

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

Rule Violation Priority Line
CommentRequired Header comments are required 3 853
CommentRequired Public method and constructor comments are required 3 4252
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 Line
CommentRequired Header comments are required 3 535
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 1418