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/petiteenfancebo/api/Constants.java

Rule Violation Ligne
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 3976

fr/paris/lutece/plugins/petiteenfancebo/api/DemandeService.java

Rule Violation Ligne
FieldNamingConventions The final field name '_objectWriter' doesn't match '[a-z][a-zA-Z0-9]*' 62
FieldNamingConventions The final field name '_objectMapper' doesn't match '[a-z][a-zA-Z0-9]*' 63
FieldNamingConventions The final field name '_petiteEnfanceBoBaseUrl' doesn't match '[a-z][a-zA-Z0-9]*' 64
FieldNamingConventions The final field name '_xGraviteeApiKey' doesn't match '[a-z][a-zA-Z0-9]*' 65

fr/paris/lutece/plugins/petiteenfancebo/api/TypeWorkflowAction.java

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

fr/paris/lutece/plugins/petiteenfancebo/api/dto/DemandeRequest.java

Rule Violation Ligne
ConstructorCallsOverridableMethod Overridable method 'setIndividuRequestResponsable1' called during object construction 83
ConstructorCallsOverridableMethod Overridable method 'setIndividuRequestResponsable2' called during object construction 84
ConstructorCallsOverridableMethod Overridable method 'setIndividuEnfantRequest' called during object construction 85

fr/paris/lutece/plugins/petiteenfancebo/api/dto/DemandeResponse.java

Rule Violation Ligne
FormalParameterNamingConventions The method parameter name '_inidividuResponseResponsable1' doesn't match '[a-z][a-zA-Z0-9]*' 167
FormalParameterNamingConventions The method parameter name '_strMotifReport' doesn't match '[a-z][a-zA-Z0-9]*' 197

Priority 2

fr/paris/lutece/plugins/petiteenfancebo/api/DemandeService.java

Rule Violation Ligne
GuardLogStatement Logger calls should be surrounded by log level guards. 246
GuardLogStatement Logger calls should be surrounded by log level guards. 248
GuardLogStatement Logger calls should be surrounded by log level guards. 265
GuardLogStatement Logger calls should be surrounded by log level guards. 266
GuardLogStatement Logger calls should be surrounded by log level guards. 270
GuardLogStatement Logger calls should be surrounded by log level guards. 287
GuardLogStatement Logger calls should be surrounded by log level guards. 288
GuardLogStatement Logger calls should be surrounded by log level guards. 292

Priority 3

fr/paris/lutece/plugins/petiteenfancebo/api/Constants.java

Rule Violation Ligne
ShortVariable Avoid variables with short names like ID 52

fr/paris/lutece/plugins/petiteenfancebo/api/DemandeService.java

Rule Violation Ligne
CommentRequired Header comments are required 56296
CommentRequired Public method and constructor comments are required 6883
CommentRequired Public method and constructor comments are required 85100
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 105
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 133
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 228
AvoidDuplicateLiterals The String literal "Appel au WS PE " appears 5 times in this file; the first occurrence is on line 246 246

fr/paris/lutece/plugins/petiteenfancebo/api/IDemandeService.java

Rule Violation Ligne
CommentRequired Header comments are required 4355
CommentRequired Public method and constructor comments are required 46
CommentRequired Public method and constructor comments are required 48
CommentRequired Public method and constructor comments are required 50
CommentRequired Public method and constructor comments are required 52
CommentRequired Public method and constructor comments are required 54

fr/paris/lutece/plugins/petiteenfancebo/api/TypeWorkflowAction.java

Rule Violation Ligne
CommentRequired Enum comments are required 3859
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'TypeWorkflowAction(int)': enum constructors are implicitly private 4952
CommentRequired Public method and constructor comments are required 5457

fr/paris/lutece/plugins/petiteenfancebo/api/dto/AdresseRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 38236

fr/paris/lutece/plugins/petiteenfancebo/api/dto/AdresseResponse.java

Rule Violation Ligne
CommentRequired Header comments are required 38253

fr/paris/lutece/plugins/petiteenfancebo/api/dto/DemandeRequest.java

Rule Violation Ligne
CommentRequired Header comments are required 44231
CommentRequired Public method and constructor comments are required 7678
UncommentedEmptyConstructor Document empty constructor 7678
CommentRequired Public method and constructor comments are required 8089
CommentRequired Public method and constructor comments are required 9194
CommentRequired Public method and constructor comments are required 9699
CommentRequired Public method and constructor comments are required 101104
CommentRequired Public method and constructor comments are required 106109
CommentRequired Public method and constructor comments are required 111114
CommentRequired Public method and constructor comments are required 116119
CommentRequired Public method and constructor comments are required 131134
CommentRequired Public method and constructor comments are required 136139
CommentRequired Public method and constructor comments are required 141144
CommentRequired Public method and constructor comments are required 146149
CommentRequired Public method and constructor comments are required 151154
CommentRequired Public method and constructor comments are required 156159
CommentRequired Public method and constructor comments are required 161164
CommentRequired Public method and constructor comments are required 166169
CommentRequired Public method and constructor comments are required 171174
CommentRequired Public method and constructor comments are required 176179
CommentRequired Public method and constructor comments are required 181184
CommentRequired Public method and constructor comments are required 186189
CommentRequired Public method and constructor comments are required 221224
CommentRequired Public method and constructor comments are required 226229

fr/paris/lutece/plugins/petiteenfancebo/api/dto/DemandeResponse.java

Rule Violation Ligne
CommentRequired Header comments are required 38202
CommentRequired Public method and constructor comments are required 6265
CommentRequired Public method and constructor comments are required 6770
CommentRequired Public method and constructor comments are required 7275
CommentRequired Public method and constructor comments are required 7780
CommentRequired Public method and constructor comments are required 8285
CommentRequired Public method and constructor comments are required 8790
CommentRequired Public method and constructor comments are required 9295
CommentRequired Public method and constructor comments are required 97100
CommentRequired Public method and constructor comments are required 102105
CommentRequired Public method and constructor comments are required 107110
CommentRequired Public method and constructor comments are required 112115
CommentRequired Public method and constructor comments are required 117120
CommentRequired Public method and constructor comments are required 122125
CommentRequired Public method and constructor comments are required 127130
CommentRequired Public method and constructor comments are required 132135
CommentRequired Public method and constructor comments are required 137140
CommentRequired Public method and constructor comments are required 142145
CommentRequired Public method and constructor comments are required 147150
CommentRequired Public method and constructor comments are required 152155
CommentRequired Public method and constructor comments are required 157160
CommentRequired Public method and constructor comments are required 192195
CommentRequired Public method and constructor comments are required 197200

fr/paris/lutece/plugins/petiteenfancebo/api/dto/IndividuEnfantRequest.java

Rule Violation Ligne
TooManyFields Too many fields 75412
CommentRequired Public method and constructor comments are required 318321
CommentRequired Public method and constructor comments are required 323326
CommentRequired Public method and constructor comments are required 328331
CommentRequired Public method and constructor comments are required 333336
CommentRequired Public method and constructor comments are required 348351
CommentRequired Public method and constructor comments are required 353356
CommentRequired Public method and constructor comments are required 358361
CommentRequired Public method and constructor comments are required 363366
CommentRequired Public method and constructor comments are required 368371
CommentRequired Public method and constructor comments are required 373376

fr/paris/lutece/plugins/petiteenfancebo/api/dto/IndividuEnfantResponse.java

Rule Violation Ligne
TooManyFields Too many fields 75402
CommentRequired Public method and constructor comments are required 338341
CommentRequired Public method and constructor comments are required 343346
CommentRequired Public method and constructor comments are required 348351
CommentRequired Public method and constructor comments are required 353356
CommentRequired Public method and constructor comments are required 358361
CommentRequired Public method and constructor comments are required 363366

fr/paris/lutece/plugins/petiteenfancebo/api/dto/IndividuResponsableRequest.java

Rule Violation Ligne
TooManyFields Too many fields 75432
CommentRequired Public method and constructor comments are required 318321
CommentRequired Public method and constructor comments are required 323326
CommentRequired Public method and constructor comments are required 328331
CommentRequired Public method and constructor comments are required 333336

fr/paris/lutece/plugins/petiteenfancebo/api/dto/IndividuResponsableResponse.java

Rule Violation Ligne
TooManyFields Too many fields 38390
CommentRequired Header comments are required 38390

fr/paris/lutece/plugins/petiteenfancebo/api/dto/PieceJointeResponse.java

Rule Violation Ligne
CommentRequired Header comments are required 36110
CommentRequired Public method and constructor comments are required 101104
CommentRequired Public method and constructor comments are required 106109

fr/paris/lutece/plugins/petiteenfancebo/api/dto/Response.java

Rule Violation Ligne
AvoidDuplicateLiterals The String literal "status" appears 4 times in this file; the first occurrence is on line 42 42
AvoidDuplicateLiterals The String literal "result" appears 4 times in this file; the first occurrence is on line 42 42
CommentRequired Header comments are required 44100
CommentRequired Public method and constructor comments are required 6972
CommentRequired Public method and constructor comments are required 7578
CommentRequired Public method and constructor comments are required 8083
CommentRequired Public method and constructor comments are required 8588
CommentRequired Public method and constructor comments are required 9093
CommentRequired Public method and constructor comments are required 9598

fr/paris/lutece/plugins/petiteenfancebo/api/dto/RetourAgentResponse.java

Rule Violation Ligne
CommentRequired Header comments are required 3890
CommentRequired Public method and constructor comments are required 5053
CommentRequired Public method and constructor comments are required 5558
CommentRequired Public method and constructor comments are required 6063
CommentRequired Public method and constructor comments are required 6568
CommentRequired Public method and constructor comments are required 7073
CommentRequired Public method and constructor comments are required 7578
CommentRequired Public method and constructor comments are required 8083
CommentRequired Public method and constructor comments are required 8588

Priority 4

fr/paris/lutece/plugins/petiteenfancebo/api/DemandeService.java

Rule Violation Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.signrequest.RequestAuthenticator' 54

Fichiers

fr/paris/lutece/plugins/petiteenfancebo/api/Constants.java

Rule Violation Priority Ligne
ClassNamingConventions The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' 1 3976
ShortVariable Avoid variables with short names like ID 3 52

fr/paris/lutece/plugins/petiteenfancebo/api/DemandeService.java

Rule Violation Priority Ligne
UnusedImports Avoid unused imports such as 'fr.paris.lutece.util.signrequest.RequestAuthenticator' 4 54
CommentRequired Header comments are required 3 56296
FieldNamingConventions The final field name '_objectWriter' doesn't match '[a-z][a-zA-Z0-9]*' 1 62
FieldNamingConventions The final field name '_objectMapper' doesn't match '[a-z][a-zA-Z0-9]*' 1 63
FieldNamingConventions The final field name '_petiteEnfanceBoBaseUrl' doesn't match '[a-z][a-zA-Z0-9]*' 1 64
FieldNamingConventions The final field name '_xGraviteeApiKey' doesn't match '[a-z][a-zA-Z0-9]*' 1 65
CommentRequired Public method and constructor comments are required 3 6883
CommentRequired Public method and constructor comments are required 3 85100
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 105
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 133
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 228
AvoidDuplicateLiterals The String literal "Appel au WS PE " appears 5 times in this file; the first occurrence is on line 246 3 246
GuardLogStatement Logger calls should be surrounded by log level guards. 2 246
GuardLogStatement Logger calls should be surrounded by log level guards. 2 248
GuardLogStatement Logger calls should be surrounded by log level guards. 2 265
GuardLogStatement Logger calls should be surrounded by log level guards. 2 266
GuardLogStatement Logger calls should be surrounded by log level guards. 2 270
GuardLogStatement Logger calls should be surrounded by log level guards. 2 287
GuardLogStatement Logger calls should be surrounded by log level guards. 2 288
GuardLogStatement Logger calls should be surrounded by log level guards. 2 292

fr/paris/lutece/plugins/petiteenfancebo/api/IDemandeService.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 4355
CommentRequired Public method and constructor comments are required 3 46
CommentRequired Public method and constructor comments are required 3 48
CommentRequired Public method and constructor comments are required 3 50
CommentRequired Public method and constructor comments are required 3 52
CommentRequired Public method and constructor comments are required 3 54

fr/paris/lutece/plugins/petiteenfancebo/api/TypeWorkflowAction.java

Rule Violation Priority Ligne
CommentRequired Enum comments are required 3 3859
FieldNamingConventions The final field name '_nIdAction' doesn't match '[a-z][a-zA-Z0-9]*' 1 47
UnnecessaryModifier Unnecessary modifier 'private' on constructor 'TypeWorkflowAction(int)': enum constructors are implicitly private 3 4952
CommentRequired Public method and constructor comments are required 3 5457

fr/paris/lutece/plugins/petiteenfancebo/api/dto/AdresseRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 38236

fr/paris/lutece/plugins/petiteenfancebo/api/dto/AdresseResponse.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 38253

fr/paris/lutece/plugins/petiteenfancebo/api/dto/DemandeRequest.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 44231
CommentRequired Public method and constructor comments are required 3 7678
UncommentedEmptyConstructor Document empty constructor 3 7678
CommentRequired Public method and constructor comments are required 3 8089
ConstructorCallsOverridableMethod Overridable method 'setIndividuRequestResponsable1' called during object construction 1 83
ConstructorCallsOverridableMethod Overridable method 'setIndividuRequestResponsable2' called during object construction 1 84
ConstructorCallsOverridableMethod Overridable method 'setIndividuEnfantRequest' called during object construction 1 85
CommentRequired Public method and constructor comments are required 3 9194
CommentRequired Public method and constructor comments are required 3 9699
CommentRequired Public method and constructor comments are required 3 101104
CommentRequired Public method and constructor comments are required 3 106109
CommentRequired Public method and constructor comments are required 3 111114
CommentRequired Public method and constructor comments are required 3 116119
CommentRequired Public method and constructor comments are required 3 131134
CommentRequired Public method and constructor comments are required 3 136139
CommentRequired Public method and constructor comments are required 3 141144
CommentRequired Public method and constructor comments are required 3 146149
CommentRequired Public method and constructor comments are required 3 151154
CommentRequired Public method and constructor comments are required 3 156159
CommentRequired Public method and constructor comments are required 3 161164
CommentRequired Public method and constructor comments are required 3 166169
CommentRequired Public method and constructor comments are required 3 171174
CommentRequired Public method and constructor comments are required 3 176179
CommentRequired Public method and constructor comments are required 3 181184
CommentRequired Public method and constructor comments are required 3 186189
CommentRequired Public method and constructor comments are required 3 221224
CommentRequired Public method and constructor comments are required 3 226229

fr/paris/lutece/plugins/petiteenfancebo/api/dto/DemandeResponse.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 38202
CommentRequired Public method and constructor comments are required 3 6265
CommentRequired Public method and constructor comments are required 3 6770
CommentRequired Public method and constructor comments are required 3 7275
CommentRequired Public method and constructor comments are required 3 7780
CommentRequired Public method and constructor comments are required 3 8285
CommentRequired Public method and constructor comments are required 3 8790
CommentRequired Public method and constructor comments are required 3 9295
CommentRequired Public method and constructor comments are required 3 97100
CommentRequired Public method and constructor comments are required 3 102105
CommentRequired Public method and constructor comments are required 3 107110
CommentRequired Public method and constructor comments are required 3 112115
CommentRequired Public method and constructor comments are required 3 117120
CommentRequired Public method and constructor comments are required 3 122125
CommentRequired Public method and constructor comments are required 3 127130
CommentRequired Public method and constructor comments are required 3 132135
CommentRequired Public method and constructor comments are required 3 137140
CommentRequired Public method and constructor comments are required 3 142145
CommentRequired Public method and constructor comments are required 3 147150
CommentRequired Public method and constructor comments are required 3 152155
CommentRequired Public method and constructor comments are required 3 157160
FormalParameterNamingConventions The method parameter name '_inidividuResponseResponsable1' doesn't match '[a-z][a-zA-Z0-9]*' 1 167
CommentRequired Public method and constructor comments are required 3 192195
CommentRequired Public method and constructor comments are required 3 197200
FormalParameterNamingConventions The method parameter name '_strMotifReport' doesn't match '[a-z][a-zA-Z0-9]*' 1 197

fr/paris/lutece/plugins/petiteenfancebo/api/dto/IndividuEnfantRequest.java

Rule Violation Priority Ligne
TooManyFields Too many fields 3 75412
CommentRequired Public method and constructor comments are required 3 318321
CommentRequired Public method and constructor comments are required 3 323326
CommentRequired Public method and constructor comments are required 3 328331
CommentRequired Public method and constructor comments are required 3 333336
CommentRequired Public method and constructor comments are required 3 348351
CommentRequired Public method and constructor comments are required 3 353356
CommentRequired Public method and constructor comments are required 3 358361
CommentRequired Public method and constructor comments are required 3 363366
CommentRequired Public method and constructor comments are required 3 368371
CommentRequired Public method and constructor comments are required 3 373376

fr/paris/lutece/plugins/petiteenfancebo/api/dto/IndividuEnfantResponse.java

Rule Violation Priority Ligne
TooManyFields Too many fields 3 75402
CommentRequired Public method and constructor comments are required 3 338341
CommentRequired Public method and constructor comments are required 3 343346
CommentRequired Public method and constructor comments are required 3 348351
CommentRequired Public method and constructor comments are required 3 353356
CommentRequired Public method and constructor comments are required 3 358361
CommentRequired Public method and constructor comments are required 3 363366

fr/paris/lutece/plugins/petiteenfancebo/api/dto/IndividuResponsableRequest.java

Rule Violation Priority Ligne
TooManyFields Too many fields 3 75432
CommentRequired Public method and constructor comments are required 3 318321
CommentRequired Public method and constructor comments are required 3 323326
CommentRequired Public method and constructor comments are required 3 328331
CommentRequired Public method and constructor comments are required 3 333336

fr/paris/lutece/plugins/petiteenfancebo/api/dto/IndividuResponsableResponse.java

Rule Violation Priority Ligne
TooManyFields Too many fields 3 38390
CommentRequired Header comments are required 3 38390

fr/paris/lutece/plugins/petiteenfancebo/api/dto/PieceJointeResponse.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 36110
CommentRequired Public method and constructor comments are required 3 101104
CommentRequired Public method and constructor comments are required 3 106109

fr/paris/lutece/plugins/petiteenfancebo/api/dto/Response.java

Rule Violation Priority Ligne
AvoidDuplicateLiterals The String literal "status" appears 4 times in this file; the first occurrence is on line 42 3 42
AvoidDuplicateLiterals The String literal "result" appears 4 times in this file; the first occurrence is on line 42 3 42
CommentRequired Header comments are required 3 44100
CommentRequired Public method and constructor comments are required 3 6972
CommentRequired Public method and constructor comments are required 3 7578
CommentRequired Public method and constructor comments are required 3 8083
CommentRequired Public method and constructor comments are required 3 8588
CommentRequired Public method and constructor comments are required 3 9093
CommentRequired Public method and constructor comments are required 3 9598

fr/paris/lutece/plugins/petiteenfancebo/api/dto/RetourAgentResponse.java

Rule Violation Priority Ligne
CommentRequired Header comments are required 3 3890
CommentRequired Public method and constructor comments are required 3 5053
CommentRequired Public method and constructor comments are required 3 5558
CommentRequired Public method and constructor comments are required 3 6063
CommentRequired Public method and constructor comments are required 3 6568
CommentRequired Public method and constructor comments are required 3 7073
CommentRequired Public method and constructor comments are required 3 7578
CommentRequired Public method and constructor comments are required 3 8083
CommentRequired Public method and constructor comments are required 3 8588