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/api/entreprise/business/AcheminementPostal.java

Rule Violation Line
FieldNamingConventions The field name 'l1' doesn't match '_[a-z][a-zA-Z0-9]*' 42

fr/paris/lutece/api/entreprise/business/ActivitePrincipale.java

Rule Violation Line
FieldNamingConventions The field name 'code' doesn't match '_[a-z][a-zA-Z0-9]*' 42
FieldNamingConventions The field name 'libelle' doesn't match '_[a-z][a-zA-Z0-9]*' 45

fr/paris/lutece/api/entreprise/business/AdresseAssociation.java

Rule Violation Line
FieldNamingConventions The field name 'numero_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 43
FieldNamingConventions The field name 'type_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 46
FieldNamingConventions The field name 'libelle_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The field name 'complement' doesn't match '_[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The field name 'code_postal' doesn't match '_[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The field name 'commune' doesn't match '_[a-z][a-zA-Z0-9]*' 58
MethodNamingConventions The instance method name 'getNumero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 6568
FormalParameterNamingConventions The method parameter name 'numero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 76
MethodNamingConventions The instance method name 'setNumero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 7679
MethodNamingConventions The instance method name 'getType_voie' doesn't match '[a-z][a-zA-Z0-9]*' 8689
FormalParameterNamingConventions The method parameter name 'type_voie' doesn't match '[a-z][a-zA-Z0-9]*' 97
MethodNamingConventions The instance method name 'setType_voie' doesn't match '[a-z][a-zA-Z0-9]*' 97100
MethodNamingConventions The instance method name 'getLibelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 107110
MethodNamingConventions The instance method name 'setLibelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 118121
FormalParameterNamingConventions The method parameter name 'libelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 118
MethodNamingConventions The instance method name 'getCode_postal' doesn't match '[a-z][a-zA-Z0-9]*' 149152
FormalParameterNamingConventions The method parameter name 'code_postal' doesn't match '[a-z][a-zA-Z0-9]*' 160
MethodNamingConventions The instance method name 'setCode_postal' doesn't match '[a-z][a-zA-Z0-9]*' 160163

fr/paris/lutece/api/entreprise/business/AdresseEtablissement.java

Rule Violation Line
FieldNamingConventions The field name 'numero_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 45
FieldNamingConventions The field name 'indice_repetition_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 48
FieldNamingConventions The field name 'type_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The field name 'libelle_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 54
FieldNamingConventions The field name 'complement_adresse' doesn't match '_[a-z][a-zA-Z0-9]*' 57
FieldNamingConventions The field name 'code_postal' doesn't match '_[a-z][a-zA-Z0-9]*' 60
FieldNamingConventions The field name 'libelle_commune' doesn't match '_[a-z][a-zA-Z0-9]*' 63
FieldNamingConventions The field name 'code_commune' doesn't match '_[a-z][a-zA-Z0-9]*' 66
FieldNamingConventions The field name 'code_cedex' doesn't match '_[a-z][a-zA-Z0-9]*' 69
FieldNamingConventions The field name 'code_pays_etranger' doesn't match '_[a-z][a-zA-Z0-9]*' 72
FieldNamingConventions The field name 'libelle_pays_etranger' doesn't match '_[a-z][a-zA-Z0-9]*' 75
FieldNamingConventions The field name 'acheminement_postal' doesn't match '_[a-z][a-zA-Z0-9]*' 79
MethodNamingConventions The instance method name 'getNumero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 8689
FormalParameterNamingConventions The method parameter name 'numero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 97
MethodNamingConventions The instance method name 'setNumero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 97100
MethodNamingConventions The instance method name 'getIndice_repetition_voie' doesn't match '[a-z][a-zA-Z0-9]*' 107110
MethodNamingConventions The instance method name 'setIndice_repetition_voie' doesn't match '[a-z][a-zA-Z0-9]*' 118121
FormalParameterNamingConventions The method parameter name 'indice_repetition_voie' doesn't match '[a-z][a-zA-Z0-9]*' 118
MethodNamingConventions The instance method name 'getType_voie' doesn't match '[a-z][a-zA-Z0-9]*' 128131
FormalParameterNamingConventions The method parameter name 'type_voie' doesn't match '[a-z][a-zA-Z0-9]*' 139
MethodNamingConventions The instance method name 'setType_voie' doesn't match '[a-z][a-zA-Z0-9]*' 139142
MethodNamingConventions The instance method name 'getLibelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 149152
MethodNamingConventions The instance method name 'setLibelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 160163
FormalParameterNamingConventions The method parameter name 'libelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 160
MethodNamingConventions The instance method name 'getComplement_adresse' doesn't match '[a-z][a-zA-Z0-9]*' 170173
MethodNamingConventions The instance method name 'setComplement_adresse' doesn't match '[a-z][a-zA-Z0-9]*' 181184
FormalParameterNamingConventions The method parameter name 'complement_adresse' doesn't match '[a-z][a-zA-Z0-9]*' 181
MethodNamingConventions The instance method name 'getCode_postal' doesn't match '[a-z][a-zA-Z0-9]*' 191194
MethodNamingConventions The instance method name 'setCode_postal' doesn't match '[a-z][a-zA-Z0-9]*' 202205
FormalParameterNamingConventions The method parameter name 'code_postal' doesn't match '[a-z][a-zA-Z0-9]*' 202
MethodNamingConventions The instance method name 'getLibelle_commune' doesn't match '[a-z][a-zA-Z0-9]*' 212215
FormalParameterNamingConventions The method parameter name 'libelle_commune' doesn't match '[a-z][a-zA-Z0-9]*' 223
MethodNamingConventions The instance method name 'setLibelle_commune' doesn't match '[a-z][a-zA-Z0-9]*' 223226
MethodNamingConventions The instance method name 'getCode_commune' doesn't match '[a-z][a-zA-Z0-9]*' 233236
MethodNamingConventions The instance method name 'setCode_commune' doesn't match '[a-z][a-zA-Z0-9]*' 244247
FormalParameterNamingConventions The method parameter name 'code_commune' doesn't match '[a-z][a-zA-Z0-9]*' 244
MethodNamingConventions The instance method name 'getCode_cedex' doesn't match '[a-z][a-zA-Z0-9]*' 254257
MethodNamingConventions The instance method name 'setCode_cedex' doesn't match '[a-z][a-zA-Z0-9]*' 265268
FormalParameterNamingConventions The method parameter name 'code_cedex' doesn't match '[a-z][a-zA-Z0-9]*' 265
MethodNamingConventions The instance method name 'getCode_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 275278
MethodNamingConventions The instance method name 'setCode_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 286289
FormalParameterNamingConventions The method parameter name 'code_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 286
MethodNamingConventions The instance method name 'getLibelle_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 296299
FormalParameterNamingConventions The method parameter name 'libelle_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 307
MethodNamingConventions The instance method name 'setLibelle_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 307310
MethodNamingConventions The instance method name 'getAcheminement_postal' doesn't match '[a-z][a-zA-Z0-9]*' 317320
MethodNamingConventions The instance method name 'setAcheminement_postal' doesn't match '[a-z][a-zA-Z0-9]*' 328331
FormalParameterNamingConventions The method parameter name 'acheminement_postal' doesn't match '[a-z][a-zA-Z0-9]*' 328

fr/paris/lutece/api/entreprise/business/Association.java

Rule Violation Line
FieldNamingConventions The field name 'rna' doesn't match '_[a-z][a-zA-Z0-9]*' 45
FieldNamingConventions The field name 'sigle' doesn't match '_[a-z][a-zA-Z0-9]*' 48
FieldNamingConventions The field name 'siret_siege' doesn't match '_[a-z][a-zA-Z0-9]*' 51
FieldNamingConventions The field name 'adresse' doesn't match '_[a-z][a-zA-Z0-9]*' 55
MethodNamingConventions The instance method name 'getSiret_siege' doesn't match '[a-z][a-zA-Z0-9]*' 104107
MethodNamingConventions The instance method name 'setSiret_siege' doesn't match '[a-z][a-zA-Z0-9]*' 115118
FormalParameterNamingConventions The method parameter name 'siret_siege' doesn't match '[a-z][a-zA-Z0-9]*' 115

fr/paris/lutece/api/entreprise/business/Entreprise.java

Rule Violation Line
FieldNamingConventions The field name 'siren' doesn't match '_[a-z][a-zA-Z0-9]*' 45
FieldNamingConventions The field name 'siret_siege_social' doesn't match '_[a-z][a-zA-Z0-9]*' 48
FieldNamingConventions The field name 'personne_morale' doesn't match '_[a-z][a-zA-Z0-9]*' 52
FieldNamingConventions The field name 'categorie_entreprise' doesn't match '_[a-z][a-zA-Z0-9]*' 55
FieldNamingConventions The field name 'activite_principale' doesn't match '_[a-z][a-zA-Z0-9]*' 59
FieldNamingConventions The field name 'forme_juridique' doesn't match '_[a-z][a-zA-Z0-9]*' 63
FieldNamingConventions The field name 'personne_physique' doesn't match '_[a-z][a-zA-Z0-9]*' 67
FieldNamingConventions The field name 'etat_administratif' doesn't match '_[a-z][a-zA-Z0-9]*' 70
MethodNamingConventions The instance method name 'getSiret_siege_social' doesn't match '[a-z][a-zA-Z0-9]*' 98101
FormalParameterNamingConventions The method parameter name 'siret_siege_social' doesn't match '[a-z][a-zA-Z0-9]*' 109
MethodNamingConventions The instance method name 'setSiret_siege_social' doesn't match '[a-z][a-zA-Z0-9]*' 109112
MethodNamingConventions The instance method name 'getPersonne_morale' doesn't match '[a-z][a-zA-Z0-9]*' 119122
FormalParameterNamingConventions The method parameter name 'personne_morale' doesn't match '[a-z][a-zA-Z0-9]*' 130
MethodNamingConventions The instance method name 'setPersonne_morale' doesn't match '[a-z][a-zA-Z0-9]*' 130133
MethodNamingConventions The instance method name 'getCategorie_entreprise' doesn't match '[a-z][a-zA-Z0-9]*' 140143
FormalParameterNamingConventions The method parameter name 'categorie_entreprise' doesn't match '[a-z][a-zA-Z0-9]*' 151
MethodNamingConventions The instance method name 'setCategorie_entreprise' doesn't match '[a-z][a-zA-Z0-9]*' 151154
MethodNamingConventions The instance method name 'getActivite_principale' doesn't match '[a-z][a-zA-Z0-9]*' 161164
MethodNamingConventions The instance method name 'setActivite_principale' doesn't match '[a-z][a-zA-Z0-9]*' 172175
FormalParameterNamingConventions The method parameter name 'activite_principale' doesn't match '[a-z][a-zA-Z0-9]*' 172
MethodNamingConventions The instance method name 'getForme_juridique' doesn't match '[a-z][a-zA-Z0-9]*' 182185
MethodNamingConventions The instance method name 'setForme_juridique' doesn't match '[a-z][a-zA-Z0-9]*' 193196
FormalParameterNamingConventions The method parameter name 'forme_juridique' doesn't match '[a-z][a-zA-Z0-9]*' 193
MethodNamingConventions The instance method name 'getPersonne_physique' doesn't match '[a-z][a-zA-Z0-9]*' 204207
MethodNamingConventions The instance method name 'setPersonne_physique' doesn't match '[a-z][a-zA-Z0-9]*' 215218
FormalParameterNamingConventions The method parameter name 'personne_physique' doesn't match '[a-z][a-zA-Z0-9]*' 215
MethodNamingConventions The instance method name 'getEtat_administratif' doesn't match '[a-z][a-zA-Z0-9]*' 225228
MethodNamingConventions The instance method name 'setEtat_administratif' doesn't match '[a-z][a-zA-Z0-9]*' 236239

fr/paris/lutece/api/entreprise/business/Etablissement.java

Rule Violation Line
FieldNamingConventions The field name 'siret' doesn't match '_[a-z][a-zA-Z0-9]*' 45
FieldNamingConventions The field name 'entreprise' doesn't match '_[a-z][a-zA-Z0-9]*' 49
FieldNamingConventions The field name 'adresse' doesn't match '_[a-z][a-zA-Z0-9]*' 53
FieldNamingConventions The field name 'etat_administratif' doesn't match '_[a-z][a-zA-Z0-9]*' 56
MethodNamingConventions The instance method name 'getEtat_administratif' doesn't match '[a-z][a-zA-Z0-9]*' 126129
MethodNamingConventions The instance method name 'setEtat_administratif' doesn't match '[a-z][a-zA-Z0-9]*' 137140

fr/paris/lutece/api/entreprise/business/FormeJuridique.java

Rule Violation Line
FieldNamingConventions The field name 'code' doesn't match '_[a-z][a-zA-Z0-9]*' 42
FieldNamingConventions The field name 'libelle' doesn't match '_[a-z][a-zA-Z0-9]*' 45

fr/paris/lutece/api/entreprise/business/NumeroTva.java

Rule Violation Line
FieldNamingConventions The field name 'tva_number' doesn't match '_[a-z][a-zA-Z0-9]*' 42
MethodNamingConventions The instance method name 'getTva_number' doesn't match '[a-z][a-zA-Z0-9]*' 4952
FormalParameterNamingConventions The method parameter name 'tva_number' doesn't match '[a-z][a-zA-Z0-9]*' 60
MethodNamingConventions The instance method name 'setTva_number' doesn't match '[a-z][a-zA-Z0-9]*' 6063

fr/paris/lutece/api/entreprise/business/PersonneMorale.java

Rule Violation Line
FieldNamingConventions The field name 'raison_sociale' doesn't match '_[a-z][a-zA-Z0-9]*' 42
FieldNamingConventions The field name 'sigle' doesn't match '_[a-z][a-zA-Z0-9]*' 45
MethodNamingConventions The instance method name 'getRaison_sociale' doesn't match '[a-z][a-zA-Z0-9]*' 5255
MethodNamingConventions The instance method name 'setRaison_sociale' doesn't match '[a-z][a-zA-Z0-9]*' 6366
FormalParameterNamingConventions The method parameter name 'raison_sociale' doesn't match '[a-z][a-zA-Z0-9]*' 63

fr/paris/lutece/api/entreprise/business/PersonnePhysique.java

Rule Violation Line
FieldNamingConventions The field name 'prenom_usuel' doesn't match '_[a-z][a-zA-Z0-9]*' 42
FieldNamingConventions The field name 'nom_naissance' doesn't match '_[a-z][a-zA-Z0-9]*' 45
MethodNamingConventions The instance method name 'getPrenom_usuel' doesn't match '[a-z][a-zA-Z0-9]*' 5255
MethodNamingConventions The instance method name 'setPrenom_usuel' doesn't match '[a-z][a-zA-Z0-9]*' 6366
FormalParameterNamingConventions The method parameter name 'prenom_usuel' doesn't match '[a-z][a-zA-Z0-9]*' 63
MethodNamingConventions The instance method name 'getNom_naissance' doesn't match '[a-z][a-zA-Z0-9]*' 7376
FormalParameterNamingConventions The method parameter name 'nom_naissance' doesn't match '[a-z][a-zA-Z0-9]*' 84
MethodNamingConventions The instance method name 'setNom_naissance' doesn't match '[a-z][a-zA-Z0-9]*' 8487

fr/paris/lutece/api/entreprise/business/RetourApiAssociation.java

Rule Violation Line
FieldNamingConventions The field name 'asso' doesn't match '_[a-z][a-zA-Z0-9]*' 46

fr/paris/lutece/api/entreprise/business/RetourApiEntreprise.java

Rule Violation Line
FieldNamingConventions The field name 'entreprise' doesn't match '_[a-z][a-zA-Z0-9]*' 47
FieldNamingConventions The field name 'etablissement_siege' doesn't match '_[a-z][a-zA-Z0-9]*' 51
MethodNamingConventions The instance method name 'getEtablissement_siege' doesn't match '[a-z][a-zA-Z0-9]*' 7982
MethodNamingConventions The instance method name 'setEtablissement_siege' doesn't match '[a-z][a-zA-Z0-9]*' 9093
FormalParameterNamingConventions The method parameter name 'etablissement_siege' doesn't match '[a-z][a-zA-Z0-9]*' 90

fr/paris/lutece/api/entreprise/business/RetourApiEtablissement.java

Rule Violation Line
FieldNamingConventions The field name 'etablissement' doesn't match '_[a-z][a-zA-Z0-9]*' 46

fr/paris/lutece/api/entreprise/business/RetourApiNumeroTva.java

Rule Violation Line
FieldNamingConventions The field name 'numeroTva' doesn't match '_[a-z][a-zA-Z0-9]*' 45

fr/paris/lutece/api/entreprise/service/ApiRtuUnavailableException.java

Rule Violation Line
FieldNamingConventions The final field name '_nReturnCode' doesn't match '[a-z][a-zA-Z0-9]*' 46

Priority 2

fr/paris/lutece/api/entreprise/service/ApiEntrepriseService.java

Rule Violation Line
GuardLogStatement Logger calls should be surrounded by log level guards. 302
GuardLogStatement Logger calls should be surrounded by log level guards. 419

Priority 3

fr/paris/lutece/api/entreprise/business/AcheminementPostal.java

Rule Violation Line
ShortVariable Avoid variables with short names like l1 42
ShortVariable Avoid variables with short names like l1 60

fr/paris/lutece/api/entreprise/business/ActivitePrincipale.java

Rule Violation Line
DataClass The class 'ActivitePrincipale' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3988

fr/paris/lutece/api/entreprise/business/AdresseAssociation.java

Rule Violation Line
DataClass The class 'AdresseAssociation' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 39186

fr/paris/lutece/api/entreprise/business/AdresseEtablissement.java

Rule Violation Line
DataClass The class 'AdresseEtablissement' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=24, WMC=24) 41333

fr/paris/lutece/api/entreprise/business/Association.java

Rule Violation Line
DataClass The class 'Association' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 41141

fr/paris/lutece/api/entreprise/business/Entreprise.java

Rule Violation Line
DataClass The class 'Entreprise' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=16, WMC=16) 41241

fr/paris/lutece/api/entreprise/business/Etablissement.java

Rule Violation Line
DataClass The class 'Etablissement' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 41142

fr/paris/lutece/api/entreprise/business/FormeJuridique.java

Rule Violation Line
DataClass The class 'FormeJuridique' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3988

fr/paris/lutece/api/entreprise/business/PersonneMorale.java

Rule Violation Line
DataClass The class 'PersonneMorale' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3988

fr/paris/lutece/api/entreprise/business/PersonnePhysique.java

Rule Violation Line
DataClass The class 'PersonnePhysique' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3988

fr/paris/lutece/api/entreprise/business/RetourApiEntreprise.java

Rule Violation Line
DataClass The class 'RetourApiEntreprise' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 4295

fr/paris/lutece/api/entreprise/service/ApiEntrepriseService.java

Rule Violation Line
NonThreadSafeSingleton Singleton is not thread safe 111114
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 136
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 139
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 165
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 168
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 194
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 197
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 223
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 226
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 265
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 292
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 299
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 308
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 322
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 344
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 364
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 406
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 450451
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 478

fr/paris/lutece/api/entreprise/service/ApiRtuUnavailableException.java

Rule Violation Line
CallSuperInConstructor It is a good practice to call super() in a constructor 5154
CallSuperInConstructor It is a good practice to call super() in a constructor 6265

Files

fr/paris/lutece/api/entreprise/business/AcheminementPostal.java

Rule Violation Priority Line
FieldNamingConventions The field name 'l1' doesn't match '_[a-z][a-zA-Z0-9]*' 1 42
ShortVariable Avoid variables with short names like l1 3 42
ShortVariable Avoid variables with short names like l1 3 60

fr/paris/lutece/api/entreprise/business/ActivitePrincipale.java

Rule Violation Priority Line
DataClass The class 'ActivitePrincipale' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 3988
FieldNamingConventions The field name 'code' doesn't match '_[a-z][a-zA-Z0-9]*' 1 42
FieldNamingConventions The field name 'libelle' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45

fr/paris/lutece/api/entreprise/business/AdresseAssociation.java

Rule Violation Priority Line
DataClass The class 'AdresseAssociation' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) 3 39186
FieldNamingConventions The field name 'numero_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 1 43
FieldNamingConventions The field name 'type_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 1 46
FieldNamingConventions The field name 'libelle_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The field name 'complement' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
FieldNamingConventions The field name 'code_postal' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
FieldNamingConventions The field name 'commune' doesn't match '_[a-z][a-zA-Z0-9]*' 1 58
MethodNamingConventions The instance method name 'getNumero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 6568
FormalParameterNamingConventions The method parameter name 'numero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 76
MethodNamingConventions The instance method name 'setNumero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 7679
MethodNamingConventions The instance method name 'getType_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 8689
FormalParameterNamingConventions The method parameter name 'type_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 97
MethodNamingConventions The instance method name 'setType_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 97100
MethodNamingConventions The instance method name 'getLibelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 107110
MethodNamingConventions The instance method name 'setLibelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 118121
FormalParameterNamingConventions The method parameter name 'libelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 118
MethodNamingConventions The instance method name 'getCode_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 149152
FormalParameterNamingConventions The method parameter name 'code_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 160
MethodNamingConventions The instance method name 'setCode_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 160163

fr/paris/lutece/api/entreprise/business/AdresseEtablissement.java

Rule Violation Priority Line
DataClass The class 'AdresseEtablissement' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=24, WMC=24) 3 41333
FieldNamingConventions The field name 'numero_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45
FieldNamingConventions The field name 'indice_repetition_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 1 48
FieldNamingConventions The field name 'type_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
FieldNamingConventions The field name 'libelle_voie' doesn't match '_[a-z][a-zA-Z0-9]*' 1 54
FieldNamingConventions The field name 'complement_adresse' doesn't match '_[a-z][a-zA-Z0-9]*' 1 57
FieldNamingConventions The field name 'code_postal' doesn't match '_[a-z][a-zA-Z0-9]*' 1 60
FieldNamingConventions The field name 'libelle_commune' doesn't match '_[a-z][a-zA-Z0-9]*' 1 63
FieldNamingConventions The field name 'code_commune' doesn't match '_[a-z][a-zA-Z0-9]*' 1 66
FieldNamingConventions The field name 'code_cedex' doesn't match '_[a-z][a-zA-Z0-9]*' 1 69
FieldNamingConventions The field name 'code_pays_etranger' doesn't match '_[a-z][a-zA-Z0-9]*' 1 72
FieldNamingConventions The field name 'libelle_pays_etranger' doesn't match '_[a-z][a-zA-Z0-9]*' 1 75
FieldNamingConventions The field name 'acheminement_postal' doesn't match '_[a-z][a-zA-Z0-9]*' 1 79
MethodNamingConventions The instance method name 'getNumero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 8689
FormalParameterNamingConventions The method parameter name 'numero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 97
MethodNamingConventions The instance method name 'setNumero_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 97100
MethodNamingConventions The instance method name 'getIndice_repetition_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 107110
MethodNamingConventions The instance method name 'setIndice_repetition_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 118121
FormalParameterNamingConventions The method parameter name 'indice_repetition_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 118
MethodNamingConventions The instance method name 'getType_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 128131
FormalParameterNamingConventions The method parameter name 'type_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 139
MethodNamingConventions The instance method name 'setType_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 139142
MethodNamingConventions The instance method name 'getLibelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 149152
MethodNamingConventions The instance method name 'setLibelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 160163
FormalParameterNamingConventions The method parameter name 'libelle_voie' doesn't match '[a-z][a-zA-Z0-9]*' 1 160
MethodNamingConventions The instance method name 'getComplement_adresse' doesn't match '[a-z][a-zA-Z0-9]*' 1 170173
MethodNamingConventions The instance method name 'setComplement_adresse' doesn't match '[a-z][a-zA-Z0-9]*' 1 181184
FormalParameterNamingConventions The method parameter name 'complement_adresse' doesn't match '[a-z][a-zA-Z0-9]*' 1 181
MethodNamingConventions The instance method name 'getCode_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 191194
MethodNamingConventions The instance method name 'setCode_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 202205
FormalParameterNamingConventions The method parameter name 'code_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 202
MethodNamingConventions The instance method name 'getLibelle_commune' doesn't match '[a-z][a-zA-Z0-9]*' 1 212215
FormalParameterNamingConventions The method parameter name 'libelle_commune' doesn't match '[a-z][a-zA-Z0-9]*' 1 223
MethodNamingConventions The instance method name 'setLibelle_commune' doesn't match '[a-z][a-zA-Z0-9]*' 1 223226
MethodNamingConventions The instance method name 'getCode_commune' doesn't match '[a-z][a-zA-Z0-9]*' 1 233236
MethodNamingConventions The instance method name 'setCode_commune' doesn't match '[a-z][a-zA-Z0-9]*' 1 244247
FormalParameterNamingConventions The method parameter name 'code_commune' doesn't match '[a-z][a-zA-Z0-9]*' 1 244
MethodNamingConventions The instance method name 'getCode_cedex' doesn't match '[a-z][a-zA-Z0-9]*' 1 254257
MethodNamingConventions The instance method name 'setCode_cedex' doesn't match '[a-z][a-zA-Z0-9]*' 1 265268
FormalParameterNamingConventions The method parameter name 'code_cedex' doesn't match '[a-z][a-zA-Z0-9]*' 1 265
MethodNamingConventions The instance method name 'getCode_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 1 275278
MethodNamingConventions The instance method name 'setCode_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 1 286289
FormalParameterNamingConventions The method parameter name 'code_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 1 286
MethodNamingConventions The instance method name 'getLibelle_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 1 296299
FormalParameterNamingConventions The method parameter name 'libelle_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 1 307
MethodNamingConventions The instance method name 'setLibelle_pays_etranger' doesn't match '[a-z][a-zA-Z0-9]*' 1 307310
MethodNamingConventions The instance method name 'getAcheminement_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 317320
MethodNamingConventions The instance method name 'setAcheminement_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 328331
FormalParameterNamingConventions The method parameter name 'acheminement_postal' doesn't match '[a-z][a-zA-Z0-9]*' 1 328

fr/paris/lutece/api/entreprise/business/Association.java

Rule Violation Priority Line
DataClass The class 'Association' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 41141
FieldNamingConventions The field name 'rna' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45
FieldNamingConventions The field name 'sigle' doesn't match '_[a-z][a-zA-Z0-9]*' 1 48
FieldNamingConventions The field name 'siret_siege' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
FieldNamingConventions The field name 'adresse' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
MethodNamingConventions The instance method name 'getSiret_siege' doesn't match '[a-z][a-zA-Z0-9]*' 1 104107
MethodNamingConventions The instance method name 'setSiret_siege' doesn't match '[a-z][a-zA-Z0-9]*' 1 115118
FormalParameterNamingConventions The method parameter name 'siret_siege' doesn't match '[a-z][a-zA-Z0-9]*' 1 115

fr/paris/lutece/api/entreprise/business/Entreprise.java

Rule Violation Priority Line
DataClass The class 'Entreprise' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=16, WMC=16) 3 41241
FieldNamingConventions The field name 'siren' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45
FieldNamingConventions The field name 'siret_siege_social' doesn't match '_[a-z][a-zA-Z0-9]*' 1 48
FieldNamingConventions The field name 'personne_morale' doesn't match '_[a-z][a-zA-Z0-9]*' 1 52
FieldNamingConventions The field name 'categorie_entreprise' doesn't match '_[a-z][a-zA-Z0-9]*' 1 55
FieldNamingConventions The field name 'activite_principale' doesn't match '_[a-z][a-zA-Z0-9]*' 1 59
FieldNamingConventions The field name 'forme_juridique' doesn't match '_[a-z][a-zA-Z0-9]*' 1 63
FieldNamingConventions The field name 'personne_physique' doesn't match '_[a-z][a-zA-Z0-9]*' 1 67
FieldNamingConventions The field name 'etat_administratif' doesn't match '_[a-z][a-zA-Z0-9]*' 1 70
MethodNamingConventions The instance method name 'getSiret_siege_social' doesn't match '[a-z][a-zA-Z0-9]*' 1 98101
FormalParameterNamingConventions The method parameter name 'siret_siege_social' doesn't match '[a-z][a-zA-Z0-9]*' 1 109
MethodNamingConventions The instance method name 'setSiret_siege_social' doesn't match '[a-z][a-zA-Z0-9]*' 1 109112
MethodNamingConventions The instance method name 'getPersonne_morale' doesn't match '[a-z][a-zA-Z0-9]*' 1 119122
FormalParameterNamingConventions The method parameter name 'personne_morale' doesn't match '[a-z][a-zA-Z0-9]*' 1 130
MethodNamingConventions The instance method name 'setPersonne_morale' doesn't match '[a-z][a-zA-Z0-9]*' 1 130133
MethodNamingConventions The instance method name 'getCategorie_entreprise' doesn't match '[a-z][a-zA-Z0-9]*' 1 140143
FormalParameterNamingConventions The method parameter name 'categorie_entreprise' doesn't match '[a-z][a-zA-Z0-9]*' 1 151
MethodNamingConventions The instance method name 'setCategorie_entreprise' doesn't match '[a-z][a-zA-Z0-9]*' 1 151154
MethodNamingConventions The instance method name 'getActivite_principale' doesn't match '[a-z][a-zA-Z0-9]*' 1 161164
MethodNamingConventions The instance method name 'setActivite_principale' doesn't match '[a-z][a-zA-Z0-9]*' 1 172175
FormalParameterNamingConventions The method parameter name 'activite_principale' doesn't match '[a-z][a-zA-Z0-9]*' 1 172
MethodNamingConventions The instance method name 'getForme_juridique' doesn't match '[a-z][a-zA-Z0-9]*' 1 182185
MethodNamingConventions The instance method name 'setForme_juridique' doesn't match '[a-z][a-zA-Z0-9]*' 1 193196
FormalParameterNamingConventions The method parameter name 'forme_juridique' doesn't match '[a-z][a-zA-Z0-9]*' 1 193
MethodNamingConventions The instance method name 'getPersonne_physique' doesn't match '[a-z][a-zA-Z0-9]*' 1 204207
MethodNamingConventions The instance method name 'setPersonne_physique' doesn't match '[a-z][a-zA-Z0-9]*' 1 215218
FormalParameterNamingConventions The method parameter name 'personne_physique' doesn't match '[a-z][a-zA-Z0-9]*' 1 215
MethodNamingConventions The instance method name 'getEtat_administratif' doesn't match '[a-z][a-zA-Z0-9]*' 1 225228
MethodNamingConventions The instance method name 'setEtat_administratif' doesn't match '[a-z][a-zA-Z0-9]*' 1 236239

fr/paris/lutece/api/entreprise/business/Etablissement.java

Rule Violation Priority Line
DataClass The class 'Etablissement' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) 3 41142
FieldNamingConventions The field name 'siret' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45
FieldNamingConventions The field name 'entreprise' doesn't match '_[a-z][a-zA-Z0-9]*' 1 49
FieldNamingConventions The field name 'adresse' doesn't match '_[a-z][a-zA-Z0-9]*' 1 53
FieldNamingConventions The field name 'etat_administratif' doesn't match '_[a-z][a-zA-Z0-9]*' 1 56
MethodNamingConventions The instance method name 'getEtat_administratif' doesn't match '[a-z][a-zA-Z0-9]*' 1 126129
MethodNamingConventions The instance method name 'setEtat_administratif' doesn't match '[a-z][a-zA-Z0-9]*' 1 137140

fr/paris/lutece/api/entreprise/business/FormeJuridique.java

Rule Violation Priority Line
DataClass The class 'FormeJuridique' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 3988
FieldNamingConventions The field name 'code' doesn't match '_[a-z][a-zA-Z0-9]*' 1 42
FieldNamingConventions The field name 'libelle' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45

fr/paris/lutece/api/entreprise/business/NumeroTva.java

Rule Violation Priority Line
FieldNamingConventions The field name 'tva_number' doesn't match '_[a-z][a-zA-Z0-9]*' 1 42
MethodNamingConventions The instance method name 'getTva_number' doesn't match '[a-z][a-zA-Z0-9]*' 1 4952
FormalParameterNamingConventions The method parameter name 'tva_number' doesn't match '[a-z][a-zA-Z0-9]*' 1 60
MethodNamingConventions The instance method name 'setTva_number' doesn't match '[a-z][a-zA-Z0-9]*' 1 6063

fr/paris/lutece/api/entreprise/business/PersonneMorale.java

Rule Violation Priority Line
DataClass The class 'PersonneMorale' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 3988
FieldNamingConventions The field name 'raison_sociale' doesn't match '_[a-z][a-zA-Z0-9]*' 1 42
FieldNamingConventions The field name 'sigle' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45
MethodNamingConventions The instance method name 'getRaison_sociale' doesn't match '[a-z][a-zA-Z0-9]*' 1 5255
MethodNamingConventions The instance method name 'setRaison_sociale' doesn't match '[a-z][a-zA-Z0-9]*' 1 6366
FormalParameterNamingConventions The method parameter name 'raison_sociale' doesn't match '[a-z][a-zA-Z0-9]*' 1 63

fr/paris/lutece/api/entreprise/business/PersonnePhysique.java

Rule Violation Priority Line
DataClass The class 'PersonnePhysique' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 3988
FieldNamingConventions The field name 'prenom_usuel' doesn't match '_[a-z][a-zA-Z0-9]*' 1 42
FieldNamingConventions The field name 'nom_naissance' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45
MethodNamingConventions The instance method name 'getPrenom_usuel' doesn't match '[a-z][a-zA-Z0-9]*' 1 5255
MethodNamingConventions The instance method name 'setPrenom_usuel' doesn't match '[a-z][a-zA-Z0-9]*' 1 6366
FormalParameterNamingConventions The method parameter name 'prenom_usuel' doesn't match '[a-z][a-zA-Z0-9]*' 1 63
MethodNamingConventions The instance method name 'getNom_naissance' doesn't match '[a-z][a-zA-Z0-9]*' 1 7376
FormalParameterNamingConventions The method parameter name 'nom_naissance' doesn't match '[a-z][a-zA-Z0-9]*' 1 84
MethodNamingConventions The instance method name 'setNom_naissance' doesn't match '[a-z][a-zA-Z0-9]*' 1 8487

fr/paris/lutece/api/entreprise/business/RetourApiAssociation.java

Rule Violation Priority Line
FieldNamingConventions The field name 'asso' doesn't match '_[a-z][a-zA-Z0-9]*' 1 46

fr/paris/lutece/api/entreprise/business/RetourApiEntreprise.java

Rule Violation Priority Line
DataClass The class 'RetourApiEntreprise' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) 3 4295
FieldNamingConventions The field name 'entreprise' doesn't match '_[a-z][a-zA-Z0-9]*' 1 47
FieldNamingConventions The field name 'etablissement_siege' doesn't match '_[a-z][a-zA-Z0-9]*' 1 51
MethodNamingConventions The instance method name 'getEtablissement_siege' doesn't match '[a-z][a-zA-Z0-9]*' 1 7982
MethodNamingConventions The instance method name 'setEtablissement_siege' doesn't match '[a-z][a-zA-Z0-9]*' 1 9093
FormalParameterNamingConventions The method parameter name 'etablissement_siege' doesn't match '[a-z][a-zA-Z0-9]*' 1 90

fr/paris/lutece/api/entreprise/business/RetourApiEtablissement.java

Rule Violation Priority Line
FieldNamingConventions The field name 'etablissement' doesn't match '_[a-z][a-zA-Z0-9]*' 1 46

fr/paris/lutece/api/entreprise/business/RetourApiNumeroTva.java

Rule Violation Priority Line
FieldNamingConventions The field name 'numeroTva' doesn't match '_[a-z][a-zA-Z0-9]*' 1 45

fr/paris/lutece/api/entreprise/service/ApiEntrepriseService.java

Rule Violation Priority Line
NonThreadSafeSingleton Singleton is not thread safe 3 111114
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 136
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 139
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 165
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 168
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 194
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 197
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 223
AvoidLiteralsInIfCondition Avoid using Literals in Conditional Statements 3 226
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 265
PrematureDeclaration Avoid declaring a variable if it is unreferenced before a possible exit point. 3 292
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 299
GuardLogStatement Logger calls should be surrounded by log level guards. 2 302
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 308
PreserveStackTrace New exception is thrown in catch block, original stack trace may be lost 3 322
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 344
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 364
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 406
GuardLogStatement Logger calls should be surrounded by log level guards. 2 419
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 450451
UseObjectForClearerAPI Rather than using a lot of String arguments, consider using a container object for those values. 3 478

fr/paris/lutece/api/entreprise/service/ApiRtuUnavailableException.java

Rule Violation Priority Line
FieldNamingConventions The final field name '_nReturnCode' doesn't match '[a-z][a-zA-Z0-9]*' 1 46
CallSuperInConstructor It is a good practice to call super() in a constructor 3 5154
CallSuperInConstructor It is a good practice to call super() in a constructor 3 6265