Le document suivant contient les résultats de PMD 6.13.0.
Rule | Violation | Ligne |
---|---|---|
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]*' | 43 |
FieldNamingConventions | The field name 'actif' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 40 |
FieldNamingConventions | The field name 'codeArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'libelleArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'idCiviliteMaireArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'nomMaireArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'titreMaireArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'idCiviliteDgsArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
FieldNamingConventions | The field name 'nomDgsArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'rueMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'codePostalMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
FieldNamingConventions | The field name 'communeMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 51 |
FieldNamingConventions | The field name 'telMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 52 |
FieldNamingConventions | The field name 'faxMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 53 |
FieldNamingConventions | The field name 'mailMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 54 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idCommune' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'codeCommune' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'labelCommune' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'departement' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
FieldNamingConventions | The field name 'cpCommune' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FormalParameterNamingConventions | The method parameter name 'Departement' doesn't match '[a-z][a-zA-Z0-9]*' | 118 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'libelle' doesn't match '_[a-z][a-zA-Z0-9]*' | 39 |
FieldNamingConventions | The field name 'codePostal' doesn't match '_[a-z][a-zA-Z0-9]*' | 40 |
FieldNamingConventions | The field name 'codeInsee' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'valeur' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idDepartement' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'codeDepartement' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'labelDepartement' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'actif' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'valeur' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idPays' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'code' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'labelCourt' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'labelLong' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'codeSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'libelleSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'idCiviliteMaireSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'nomMaireSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'titreMaireSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'idCiviliteDgsSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
FieldNamingConventions | The field name 'nomDgsSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'rueMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'codePostalMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
FieldNamingConventions | The field name 'communeMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 51 |
FieldNamingConventions | The field name 'telMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 52 |
FieldNamingConventions | The field name 'faxMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 53 |
FieldNamingConventions | The field name 'mailMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 54 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'dateCreation' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'dateModification' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'typeDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'libelleDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
FieldNamingConventions | The field name 'sourceDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 47 |
FieldNamingConventions | The field name 'tempsDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'directionDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'typologieFinanciereDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
FieldNamingConventions | The field name 'groupeDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 51 |
FieldNamingConventions | The field name 'donneeFinanciere' doesn't match '_[a-z][a-zA-Z0-9]*' | 52 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'eligibiliteCesu' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'imputationBudgetaire' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'ligneImputation' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'uniteOeuvre' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'statut' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'gpDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'dispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 39 |
FieldNamingConventions | The field name 'numeroVoie' doesn't match '_[a-z][a-zA-Z0-9]*' | 40 |
FieldNamingConventions | The field name 'adresse' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'codePostal' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'ville' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'pays' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'denomination' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'circonscription' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'capaciteTheorique' doesn't match '_[a-z][a-zA-Z0-9]*' | 39 |
FieldNamingConventions | The field name 'nombreEleve' doesn't match '_[a-z][a-zA-Z0-9]*' | 40 |
FieldNamingConventions | The field name 'nombreClasses' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'typeEnseignement' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'natureEnseignement' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'codeUo' doesn't match '_[a-z][a-zA-Z0-9]*' | 48 |
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 49 |
FieldNamingConventions | The field name 'idEquipement' doesn't match '_[a-z][a-zA-Z0-9]*' | 50 |
FieldNamingConventions | The field name 'nomEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 51 |
FieldNamingConventions | The field name 'nomEquipement' doesn't match '_[a-z][a-zA-Z0-9]*' | 52 |
FieldNamingConventions | The field name 'numeroTelephone' doesn't match '_[a-z][a-zA-Z0-9]*' | 53 |
FieldNamingConventions | The field name 'rectorat' doesn't match '_[a-z][a-zA-Z0-9]*' | 54 |
FieldNamingConventions | The field name 'direction' doesn't match '_[a-z][a-zA-Z0-9]*' | 55 |
FieldNamingConventions | The field name 'effectif' doesn't match '_[a-z][a-zA-Z0-9]*' | 56 |
FieldNamingConventions | The field name 'listEnseignement' doesn't match '_[a-z][a-zA-Z0-9]*' | 58 |
FieldNamingConventions | The field name 'listStatut' doesn't match '_[a-z][a-zA-Z0-9]*' | 59 |
FieldNamingConventions | The field name 'listResponsable' doesn't match '_[a-z][a-zA-Z0-9]*' | 60 |
FieldNamingConventions | The field name 'listAdresse' doesn't match '_[a-z][a-zA-Z0-9]*' | 61 |
FieldNamingConventions | The field name 'listTypeEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 62 |
FieldNamingConventions | The field name 'listCirconscription' doesn't match '_[a-z][a-zA-Z0-9]*' | 63 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'etablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'statutEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'etablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'typeEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
FieldNamingConventions | The field name 'nom' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'prenom' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'email' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'typeResponsable' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 41 |
FieldNamingConventions | The field name 'libelleSuperThematique' doesn't match '_[a-z][a-zA-Z0-9]*' | 42 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 43 |
FieldNamingConventions | The field name 'intituleThematique' doesn't match '_[a-z][a-zA-Z0-9]*' | 44 |
FieldNamingConventions | The field name 'numeroLotThematique' doesn't match '_[a-z][a-zA-Z0-9]*' | 45 |
FieldNamingConventions | The field name 'superThematique' doesn't match '_[a-z][a-zA-Z0-9]*' | 46 |
Rule | Violation | Ligne |
---|---|---|
FieldNamingConventions | The final field name '_gson' doesn't match '[a-z][a-zA-Z0-9]*' | 50 |
FieldNamingConventions | The final field name '_referentielBaseUrl' doesn't match '[a-z][a-zA-Z0-9]*' | 51 |
FieldNamingConventions | The final field name '_xGraviteeApiKey' doesn't match '[a-z][a-zA-Z0-9]*' | 52 |
Rule | Violation | Ligne |
---|---|---|
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 38–99 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 38–99 |
Rule | Violation | Ligne |
---|---|---|
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 87 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 115 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 143 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 169 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 173 |
AvoidThrowingNullPointerException | Avoid throwing null pointer exceptions. | 199 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 203 |
Rule | Violation | Ligne |
---|---|---|
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 94 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 145 |
Rule | Violation | Ligne |
---|---|---|
AvoidReassigningParameters | Avoid reassigning parameters such as 'mapHeadersRequest' | 123 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'AbstractReferentiel' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=8) | 40–107 |
CommentRequired | Header comments are required | 40–107 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 40–107 |
CommentRequired | Public method and constructor comments are required | 46–48 |
UncommentedEmptyConstructor | Document empty constructor | 46–48 |
CommentRequired | Public method and constructor comments are required | 50–55 |
ShortVariable | Avoid variables with short names like o | 88 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'ArrondissementDto' is suspected to be a Data Class (WOC=6.250%, NOPA=0, NOAM=28, WMC=32) | 38–235 |
CommentRequired | Header comments are required | 38–235 |
UncommentedEmptyConstructor | Document empty constructor | 57–58 |
CommentRequired | Public method and constructor comments are required | 57–58 |
ExcessiveParameterList | Avoid long parameter lists. | 60 |
CommentRequired | Public method and constructor comments are required | 60–76 |
CommentRequired | Public method and constructor comments are required | 102–104 |
CommentRequired | Public method and constructor comments are required | 106–108 |
ShortVariable | Avoid variables with short names like o | 199 |
ControlStatementBraces | This statement should have braces | 201 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'CommuneDto' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 41–140 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 37–83 |
DataClass | The class 'CommuneSearchRequest' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=8) | 37–83 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the libelle field if you want a default access modifier | 39 |
DefaultPackage | Use explicit scoping instead of the default package private level | 39 |
DefaultPackage | Use explicit scoping instead of the default package private level | 40 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the codePostal field if you want a default access modifier | 40 |
DefaultPackage | Use explicit scoping instead of the default package private level | 41 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the codeInsee field if you want a default access modifier | 41 |
CommentRequired | Public method and constructor comments are required | 47–52 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'CycleScolaire' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 39–73 |
ShortVariable | Avoid variables with short names like id | 42 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'DepartementDto' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 41–121 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'NiveauScolaire' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 39–73 |
ShortVariable | Avoid variables with short names like id | 42 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'PaysDto' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 41–121 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–236 |
DataClass | The class 'SecteurDto' is suspected to be a Data Class (WOC=6.250%, NOPA=0, NOAM=28, WMC=32) | 39–236 |
CommentRequired | Public method and constructor comments are required | 58–59 |
UncommentedEmptyConstructor | Document empty constructor | 58–59 |
CommentRequired | Public method and constructor comments are required | 61–77 |
ExcessiveParameterList | Avoid long parameter lists. | 61 |
CommentRequired | Public method and constructor comments are required | 191–193 |
CommentRequired | Public method and constructor comments are required | 195–197 |
ShortVariable | Avoid variables with short names like o | 200 |
ControlStatementBraces | This statement should have braces | 202 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 40–166 |
DataClass | The class 'Dispositif' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=22, WMC=24) | 40–166 |
ShortVariable | Avoid variables with short names like id | 42 |
UncommentedEmptyConstructor | Document empty constructor | 55–56 |
CommentRequired | Public method and constructor comments are required | 55–56 |
ExcessiveParameterList | Avoid long parameter lists. | 58–60 |
ShortVariable | Avoid variables with short names like id | 58 |
CommentRequired | Public method and constructor comments are required | 58–73 |
ShortVariable | Avoid variables with short names like id | 79 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'DonneeFinanciere' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=13, WMC=15) | 39–113 |
CommentRequired | Header comments are required | 39–113 |
ShortVariable | Avoid variables with short names like id | 41 |
UncommentedEmptyConstructor | Document empty constructor | 49–50 |
CommentRequired | Public method and constructor comments are required | 49–50 |
ShortVariable | Avoid variables with short names like id | 52 |
CommentRequired | Public method and constructor comments are required | 52–59 |
ShortVariable | Avoid variables with short names like id | 65 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'GroupeDispositif' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=8) | 40–79 |
CommentRequired | Header comments are required | 40–79 |
ShortVariable | Avoid variables with short names like id | 42 |
UncommentedEmptyConstructor | Document empty constructor | 46–47 |
CommentRequired | Public method and constructor comments are required | 46–47 |
CommentRequired | Public method and constructor comments are required | 49–53 |
ShortVariable | Avoid variables with short names like id | 49 |
ShortVariable | Avoid variables with short names like id | 59 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 38–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–53 |
CommentRequired | Public method and constructor comments are required | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 39–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 39–41 |
CommentRequired | Public method and constructor comments are required | 43–45 |
CommentRequired | Public method and constructor comments are required | 47–52 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–54 |
CommentRequired | Header comments are required | 38–54 |
CommentRequired | Public method and constructor comments are required | 40–41 |
UncommentedEmptyConstructor | Document empty constructor | 40–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 40–41 |
CommentRequired | Public method and constructor comments are required | 43–45 |
CommentRequired | Public method and constructor comments are required | 47–52 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 38–54 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–54 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 40–42 |
CommentRequired | Public method and constructor comments are required | 40–42 |
UncommentedEmptyConstructor | Document empty constructor | 40–42 |
CommentRequired | Public method and constructor comments are required | 44–46 |
CommentRequired | Public method and constructor comments are required | 48–53 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 38–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–53 |
CommentRequired | Public method and constructor comments are required | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 39–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 39–41 |
CommentRequired | Public method and constructor comments are required | 43–45 |
CommentRequired | Public method and constructor comments are required | 47–52 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 38–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–53 |
CommentRequired | Public method and constructor comments are required | 39–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 39–41 |
CommentRequired | Public method and constructor comments are required | 43–45 |
CommentRequired | Public method and constructor comments are required | 47–52 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–53 |
CommentRequired | Header comments are required | 38–53 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 39–41 |
CommentRequired | Public method and constructor comments are required | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 39–41 |
CommentRequired | Public method and constructor comments are required | 43–45 |
CommentRequired | Public method and constructor comments are required | 47–52 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 38–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–53 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 39–41 |
CommentRequired | Public method and constructor comments are required | 39–41 |
CommentRequired | Public method and constructor comments are required | 43–45 |
CommentRequired | Public method and constructor comments are required | 47–52 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 38–53 |
CommentRequired | Header comments are required | 38–53 |
CommentRequired | Public method and constructor comments are required | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 39–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 39–41 |
CommentRequired | Public method and constructor comments are required | 43–45 |
CommentRequired | Public method and constructor comments are required | 47–52 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 5–21 |
CommentRequired | Header comments are required | 5–21 |
CommentRequired | Public method and constructor comments are required | 7–8 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 7–8 |
UncommentedEmptyConstructor | Document empty constructor | 7–8 |
CommentRequired | Public method and constructor comments are required | 10–12 |
CommentRequired | Public method and constructor comments are required | 14–19 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 37–105 |
DataClass | The class 'Adresse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 37–105 |
AvoidFieldNameMatchingTypeName | It is somewhat confusing to have a field name matching the declaring class name | 41 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 40–75 |
DataClass | The class 'CirconscriptionTerritoriale' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 40–75 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 37–73 |
DataClass | The class 'Effectif' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 37–73 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'Enseignement' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 41–77 |
CommentRequired | Header comments are required | 41–77 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 46–214 |
DataClass | The class 'Etablissement' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=30, WMC=30) | 46–214 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–64 |
DataClass | The class 'LienEtablissementStatutEtab' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 39–64 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'LienEtablissementTypeEtab' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 40–65 |
CommentRequired | Header comments are required | 40–65 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–98 |
DataClass | The class 'Responsable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 39–98 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
CommentRequired | Header comments are required | 39–58 |
CommentRequired | Public method and constructor comments are required | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
CommentRequired | Header comments are required | 39–58 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
CommentRequired | Header comments are required | 39–58 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–58 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–58 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
CommentRequired | Public method and constructor comments are required | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
CommentRequired | Header comments are required | 39–58 |
CommentRequired | Public method and constructor comments are required | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–58 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
CommentRequired | Header comments are required | 39–58 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–58 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 40–63 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 40–63 |
CommentRequired | Public method and constructor comments are required | 44–47 |
ShortVariable | Avoid variables with short names like e | 44 |
CommentRequired | Public method and constructor comments are required | 48–52 |
ShortVariable | Avoid variables with short names like e | 48 |
CommentRequired | Public method and constructor comments are required | 53–57 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 39–64 |
DataClass | The class 'SuperThematique' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 39–64 |
ShortVariable | Avoid variables with short names like id | 41 |
ShortVariable | Avoid variables with short names like id | 49 |
Rule | Violation | Ligne |
---|---|---|
DataClass | The class 'Thematique' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 41–87 |
CommentRequired | Header comments are required | 41–87 |
ShortVariable | Avoid variables with short names like id | 43 |
ShortVariable | Avoid variables with short names like id | 53 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 39–58 |
CommentRequired | Header comments are required | 39–58 |
CommentRequired | Public method and constructor comments are required | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 41–43 |
CommentRequired | Public method and constructor comments are required | 45–48 |
CommentRequired | Public method and constructor comments are required | 50–57 |
Rule | Violation | Ligne |
---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 40–59 |
CommentRequired | Header comments are required | 40–59 |
UncommentedEmptyConstructor | Document empty constructor | 42–44 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 42–44 |
CommentRequired | Public method and constructor comments are required | 42–44 |
CommentRequired | Public method and constructor comments are required | 46–49 |
CommentRequired | Public method and constructor comments are required | 51–58 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 40–59 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 40–59 |
UncommentedEmptyConstructor | Document empty constructor | 42–44 |
CommentRequired | Public method and constructor comments are required | 42–44 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 42–44 |
CommentRequired | Public method and constructor comments are required | 46–49 |
CommentRequired | Public method and constructor comments are required | 51–58 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 48–149 |
CommentRequired | Public method and constructor comments are required | 54–65 |
CommentRequired | Public method and constructor comments are required | 68–79 |
CommentRequired | Public method and constructor comments are required | 82–87 |
CommentRequired | Public method and constructor comments are required | 88–93 |
CommentRequired | Protected method constructor comments are required | 95–121 |
TooFewBranchesForASwitchStatement | A switch with less than three branches is inefficient, use a if statement instead. | 108–116 |
SwitchStmtsShouldHaveDefault | Switch statements should have a default label | 108–116 |
CommentRequired | Protected method constructor comments are required | 123–133 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 38–99 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 44 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 45 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 46 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 47 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 48 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 49 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 50 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 51 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 52 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 53 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 54 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 55 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 56 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 57 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 58 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 59 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 60 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 61 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 63 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 64 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 65 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 66 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 67 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 68 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 69 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 70 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 71 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 72 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 73 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 74 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 75 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 76 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 77 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 78 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 79 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 80 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 81 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 87 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 91 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 93 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 95 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 96 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 98 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 42–50 |
CommentRequired | Public method and constructor comments are required | 45 |
CommentRequired | Public method and constructor comments are required | 47 |
ShortVariable | Avoid variables with short names like id | 47 |
CommentRequired | Public method and constructor comments are required | 49 |
ShortVariable | Avoid variables with short names like id | 49 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 43–79 |
CommentRequired | Public method and constructor comments are required | 78 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 42–48 |
CommentRequired | Public method and constructor comments are required | 45 |
CommentRequired | Public method and constructor comments are required | 47 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 42–45 |
CommentRequired | Public method and constructor comments are required | 44 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 44–61 |
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 |
CommentRequired | Public method and constructor comments are required | 56 |
CommentRequired | Public method and constructor comments are required | 58 |
CommentRequired | Public method and constructor comments are required | 60 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 41–81 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 41–47 |
CommentRequired | Public method and constructor comments are required | 44 |
CommentRequired | Public method and constructor comments are required | 46 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 41–67 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 41–48 |
CommentRequired | Public method and constructor comments are required | 43 |
CommentRequired | Public method and constructor comments are required | 45 |
ShortVariable | Avoid variables with short names like id | 45 |
CommentRequired | Public method and constructor comments are required | 47 |
ShortVariable | Avoid variables with short names like id | 47 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 45–61 |
CommentRequired | Public method and constructor comments are required | 48 |
ShortVariable | Avoid variables with short names like id | 50 |
CommentRequired | Public method and constructor comments are required | 50 |
CommentRequired | Public method and constructor comments are required | 52 |
ShortVariable | Avoid variables with short names like id | 54 |
CommentRequired | Public method and constructor comments are required | 54 |
CommentRequired | Public method and constructor comments are required | 56 |
CommentRequired | Public method and constructor comments are required | 58 |
CommentRequired | Public method and constructor comments are required | 60 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 49–135 |
CommentRequired | Public method and constructor comments are required | 52–55 |
CommentRequired | Public method and constructor comments are required | 56–59 |
ShortVariable | Avoid variables with short names like id | 83 |
ShortVariable | Avoid variables with short names like id | 110 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 51–191 |
CommentRequired | Public method and constructor comments are required | 54–57 |
CommentRequired | Public method and constructor comments are required | 58–61 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 63 |
AvoidDuplicateLiterals | The String literal "error during mapping response" appears 5 times in this file; the first occurrence is on line 88 | 88 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 50–109 |
CommentRequired | Public method and constructor comments are required | 53–56 |
CommentRequired | Public method and constructor comments are required | 57–60 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 46–84 |
CommentRequired | Public method and constructor comments are required | 49–52 |
CommentRequired | Public method and constructor comments are required | 53–56 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 48–272 |
CommentRequired | Public method and constructor comments are required | 51–54 |
CommentRequired | Public method and constructor comments are required | 55–58 |
AvoidDuplicateLiterals | The String literal "error during mapping response" appears 5 times in this file; the first occurrence is on line 76 | 76 |
AvoidDuplicateLiterals | The String literal "L'id renseigné est null" appears 4 times in this file; the first occurrence is on line 87 | 87 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 140 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 166 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 196 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 51–205 |
CommentRequired | Public method and constructor comments are required | 54–57 |
CommentRequired | Public method and constructor comments are required | 58–61 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 50–109 |
CommentRequired | Public method and constructor comments are required | 53–56 |
CommentRequired | Public method and constructor comments are required | 57–60 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 53–139 |
CommentRequired | Public method and constructor comments are required | 56–59 |
CommentRequired | Public method and constructor comments are required | 60–63 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 65 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 49–135 |
CommentRequired | Public method and constructor comments are required | 52–55 |
CommentRequired | Public method and constructor comments are required | 56–59 |
ShortVariable | Avoid variables with short names like id | 83 |
ShortVariable | Avoid variables with short names like id | 110 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 52–227 |
CommentRequired | Public method and constructor comments are required | 55–58 |
CommentRequired | Public method and constructor comments are required | 59–62 |
AvoidDuplicateLiterals | The String literal "error during mapping response" appears 7 times in this file; the first occurrence is on line 83 | 83 |
ShortVariable | Avoid variables with short names like id | 89 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 91 |
ShortVariable | Avoid variables with short names like id | 140 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 142 |
Rule | Violation | Ligne |
---|---|---|
CommentRequired | Header comments are required | 55–163 |
MissingOverride | The method 'create(Gson, TypeToken)' is missing an @Override annotation. | 59–65 |
CommentRequired | Public method and constructor comments are required | 59–65 |
CommentRequired | Public method and constructor comments are required | 73–83 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 73–83 |
MissingOverride | The method 'read(JsonReader)' is missing an @Override annotation. | 106–112 |
CommentRequired | Public method and constructor comments are required | 106–112 |
ShortVariable | Avoid variables with short names like in | 106 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 114–152 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 118 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 145 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 154–162 |
CommentRequired | Public method and constructor comments are required | 154–162 |
MissingOverride | The method 'write(JsonWriter, Date)' is missing an @Override annotation. | 154–162 |
Rule | Violation | Ligne |
---|---|---|
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 108–111 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.referentielfo.v1.model.SecteurDto' | 37 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Optional' | 41 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.referentielfo.v1.model.PaysDto' | 37 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.referentielfo.v1.model.PaysDto' | 37 |
UnusedImports | Avoid unused imports such as 'java.util.List' | 40 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonMappingException' | 37 |
Rule | Violation | Ligne |
---|---|---|
UnusedImports | Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonMappingException' | 37 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'AbstractReferentiel' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=8) | 3 | 40–107 |
CommentRequired | Header comments are required | 3 | 40–107 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 40–107 |
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 | 43 |
FieldNamingConventions | The field name 'actif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
CommentRequired | Public method and constructor comments are required | 3 | 46–48 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 46–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–55 |
ShortVariable | Avoid variables with short names like o | 3 | 88 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'ArrondissementDto' is suspected to be a Data Class (WOC=6.250%, NOPA=0, NOAM=28, WMC=32) | 3 | 38–235 |
CommentRequired | Header comments are required | 3 | 38–235 |
FieldNamingConventions | The field name 'idArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 40 |
FieldNamingConventions | The field name 'codeArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
FieldNamingConventions | The field name 'libelleArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'idCiviliteMaireArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'nomMaireArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'titreMaireArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'idCiviliteDgsArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
FieldNamingConventions | The field name 'nomDgsArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'rueMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'codePostalMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
FieldNamingConventions | The field name 'communeMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 51 |
FieldNamingConventions | The field name 'telMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 52 |
FieldNamingConventions | The field name 'faxMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 53 |
FieldNamingConventions | The field name 'mailMairieArrondissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 54 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 57–58 |
CommentRequired | Public method and constructor comments are required | 3 | 57–58 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 60 |
CommentRequired | Public method and constructor comments are required | 3 | 60–76 |
CommentRequired | Public method and constructor comments are required | 3 | 102–104 |
CommentRequired | Public method and constructor comments are required | 3 | 106–108 |
ShortVariable | Avoid variables with short names like o | 3 | 199 |
ControlStatementBraces | This statement should have braces | 3 | 201 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'CommuneDto' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 3 | 41–140 |
FieldNamingConventions | The field name 'idCommune' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'codeCommune' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'labelCommune' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'departement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
FieldNamingConventions | The field name 'cpCommune' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FormalParameterNamingConventions | The method parameter name 'Departement' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 118 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 37–83 |
DataClass | The class 'CommuneSearchRequest' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=8) | 3 | 37–83 |
FieldNamingConventions | The field name 'libelle' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 39 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the libelle field if you want a default access modifier | 3 | 39 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 39 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 40 |
FieldNamingConventions | The field name 'codePostal' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 40 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the codePostal field if you want a default access modifier | 3 | 40 |
DefaultPackage | Use explicit scoping instead of the default package private level | 3 | 41 |
FieldNamingConventions | The field name 'codeInsee' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
CommentDefaultAccessModifier | To avoid mistakes add a comment at the beginning of the codeInsee field if you want a default access modifier | 3 | 41 |
CommentRequired | Public method and constructor comments are required | 3 | 47–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'CycleScolaire' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 39–73 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
ShortVariable | Avoid variables with short names like id | 3 | 42 |
FieldNamingConventions | The field name 'valeur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'DepartementDto' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 3 | 41–121 |
FieldNamingConventions | The field name 'idDepartement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'codeDepartement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'labelDepartement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'actif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
BooleanGetMethodName | A getX() method which returns a boolean should be named isX() | 4 | 108–111 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'NiveauScolaire' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 39–73 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
ShortVariable | Avoid variables with short names like id | 3 | 42 |
FieldNamingConventions | The field name 'valeur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'PaysDto' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 3 | 41–121 |
FieldNamingConventions | The field name 'idPays' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'code' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'labelCourt' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'labelLong' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–236 |
DataClass | The class 'SecteurDto' is suspected to be a Data Class (WOC=6.250%, NOPA=0, NOAM=28, WMC=32) | 3 | 39–236 |
FieldNamingConventions | The field name 'idSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
FieldNamingConventions | The field name 'codeSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'libelleSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'idCiviliteMaireSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'nomMaireSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'titreMaireSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'idCiviliteDgsSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
FieldNamingConventions | The field name 'nomDgsSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'rueMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'codePostalMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
FieldNamingConventions | The field name 'communeMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 51 |
FieldNamingConventions | The field name 'telMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 52 |
FieldNamingConventions | The field name 'faxMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 53 |
FieldNamingConventions | The field name 'mailMairieSecteur' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 54 |
CommentRequired | Public method and constructor comments are required | 3 | 58–59 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 58–59 |
CommentRequired | Public method and constructor comments are required | 3 | 61–77 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 61 |
CommentRequired | Public method and constructor comments are required | 3 | 191–193 |
CommentRequired | Public method and constructor comments are required | 3 | 195–197 |
ShortVariable | Avoid variables with short names like o | 3 | 200 |
ControlStatementBraces | This statement should have braces | 3 | 202 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–166 |
DataClass | The class 'Dispositif' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=22, WMC=24) | 3 | 40–166 |
ShortVariable | Avoid variables with short names like id | 3 | 42 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'dateCreation' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'dateModification' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'typeDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'libelleDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
FieldNamingConventions | The field name 'sourceDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 47 |
FieldNamingConventions | The field name 'tempsDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'directionDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'typologieFinanciereDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
FieldNamingConventions | The field name 'groupeDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 51 |
FieldNamingConventions | The field name 'donneeFinanciere' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 52 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 55–56 |
CommentRequired | Public method and constructor comments are required | 3 | 55–56 |
ExcessiveParameterList | Avoid long parameter lists. | 3 | 58–60 |
ShortVariable | Avoid variables with short names like id | 3 | 58 |
CommentRequired | Public method and constructor comments are required | 3 | 58–73 |
ShortVariable | Avoid variables with short names like id | 3 | 79 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'DonneeFinanciere' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=13, WMC=15) | 3 | 39–113 |
CommentRequired | Header comments are required | 3 | 39–113 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
ShortVariable | Avoid variables with short names like id | 3 | 41 |
FieldNamingConventions | The field name 'eligibiliteCesu' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'imputationBudgetaire' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'ligneImputation' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'uniteOeuvre' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'statut' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 49–50 |
CommentRequired | Public method and constructor comments are required | 3 | 49–50 |
ShortVariable | Avoid variables with short names like id | 3 | 52 |
CommentRequired | Public method and constructor comments are required | 3 | 52–59 |
ShortVariable | Avoid variables with short names like id | 3 | 65 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'GroupeDispositif' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=8) | 3 | 40–79 |
CommentRequired | Header comments are required | 3 | 40–79 |
ShortVariable | Avoid variables with short names like id | 3 | 42 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'gpDispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'dispositif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 46–47 |
CommentRequired | Public method and constructor comments are required | 3 | 46–47 |
CommentRequired | Public method and constructor comments are required | 3 | 49–53 |
ShortVariable | Avoid variables with short names like id | 3 | 49 |
ShortVariable | Avoid variables with short names like id | 3 | 59 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–53 |
CommentRequired | Public method and constructor comments are required | 3 | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 39–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 39–41 |
CommentRequired | Public method and constructor comments are required | 3 | 43–45 |
CommentRequired | Public method and constructor comments are required | 3 | 47–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–54 |
CommentRequired | Header comments are required | 3 | 38–54 |
CommentRequired | Public method and constructor comments are required | 3 | 40–41 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 40–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 40–41 |
CommentRequired | Public method and constructor comments are required | 3 | 43–45 |
CommentRequired | Public method and constructor comments are required | 3 | 47–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–54 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–54 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 40–42 |
CommentRequired | Public method and constructor comments are required | 3 | 40–42 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 40–42 |
CommentRequired | Public method and constructor comments are required | 3 | 44–46 |
CommentRequired | Public method and constructor comments are required | 3 | 48–53 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–53 |
CommentRequired | Public method and constructor comments are required | 3 | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 39–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 39–41 |
CommentRequired | Public method and constructor comments are required | 3 | 43–45 |
CommentRequired | Public method and constructor comments are required | 3 | 47–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–53 |
CommentRequired | Public method and constructor comments are required | 3 | 39–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 39–41 |
CommentRequired | Public method and constructor comments are required | 3 | 43–45 |
CommentRequired | Public method and constructor comments are required | 3 | 47–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–53 |
CommentRequired | Header comments are required | 3 | 38–53 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 39–41 |
CommentRequired | Public method and constructor comments are required | 3 | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 39–41 |
CommentRequired | Public method and constructor comments are required | 3 | 43–45 |
CommentRequired | Public method and constructor comments are required | 3 | 47–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 38–53 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–53 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 39–41 |
CommentRequired | Public method and constructor comments are required | 3 | 39–41 |
CommentRequired | Public method and constructor comments are required | 3 | 43–45 |
CommentRequired | Public method and constructor comments are required | 3 | 47–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 38–53 |
CommentRequired | Header comments are required | 3 | 38–53 |
CommentRequired | Public method and constructor comments are required | 3 | 39–41 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 39–41 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 39–41 |
CommentRequired | Public method and constructor comments are required | 3 | 43–45 |
CommentRequired | Public method and constructor comments are required | 3 | 47–52 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 5–21 |
CommentRequired | Header comments are required | 3 | 5–21 |
CommentRequired | Public method and constructor comments are required | 3 | 7–8 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 7–8 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 7–8 |
CommentRequired | Public method and constructor comments are required | 3 | 10–12 |
CommentRequired | Public method and constructor comments are required | 3 | 14–19 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 37–105 |
DataClass | The class 'Adresse' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=12, WMC=12) | 3 | 37–105 |
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 39 |
FieldNamingConventions | The field name 'numeroVoie' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 40 |
AvoidFieldNameMatchingTypeName | It is somewhat confusing to have a field name matching the declaring class name | 3 | 41 |
FieldNamingConventions | The field name 'adresse' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
FieldNamingConventions | The field name 'codePostal' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'ville' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'pays' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–75 |
DataClass | The class 'CirconscriptionTerritoriale' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 3 | 40–75 |
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'denomination' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'circonscription' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 37–73 |
DataClass | The class 'Effectif' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 3 | 37–73 |
FieldNamingConventions | The field name 'capaciteTheorique' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 39 |
FieldNamingConventions | The field name 'nombreEleve' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 40 |
FieldNamingConventions | The field name 'nombreClasses' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'Enseignement' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=6, WMC=6) | 3 | 41–77 |
CommentRequired | Header comments are required | 3 | 41–77 |
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'typeEnseignement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'natureEnseignement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–214 |
DataClass | The class 'Etablissement' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=30, WMC=30) | 3 | 46–214 |
FieldNamingConventions | The field name 'codeUo' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 48 |
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 49 |
FieldNamingConventions | The field name 'idEquipement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 50 |
FieldNamingConventions | The field name 'nomEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 51 |
FieldNamingConventions | The field name 'nomEquipement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 52 |
FieldNamingConventions | The field name 'numeroTelephone' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 53 |
FieldNamingConventions | The field name 'rectorat' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 54 |
FieldNamingConventions | The field name 'direction' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 55 |
FieldNamingConventions | The field name 'effectif' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 56 |
FieldNamingConventions | The field name 'listEnseignement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 58 |
FieldNamingConventions | The field name 'listStatut' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 59 |
FieldNamingConventions | The field name 'listResponsable' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 60 |
FieldNamingConventions | The field name 'listAdresse' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 61 |
FieldNamingConventions | The field name 'listTypeEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 62 |
FieldNamingConventions | The field name 'listCirconscription' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 63 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–64 |
DataClass | The class 'LienEtablissementStatutEtab' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 39–64 |
FieldNamingConventions | The field name 'etablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
FieldNamingConventions | The field name 'statutEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'LienEtablissementTypeEtab' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 40–65 |
CommentRequired | Header comments are required | 3 | 40–65 |
FieldNamingConventions | The field name 'etablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'typeEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–98 |
DataClass | The class 'Responsable' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=10, WMC=10) | 3 | 39–98 |
FieldNamingConventions | The field name 'idEtablissement' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
FieldNamingConventions | The field name 'nom' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'prenom' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'email' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'typeResponsable' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
CommentRequired | Header comments are required | 3 | 39–58 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
CommentRequired | Header comments are required | 3 | 39–58 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
CommentRequired | Header comments are required | 3 | 39–58 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–58 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–58 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
CommentRequired | Header comments are required | 3 | 39–58 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–58 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
CommentRequired | Header comments are required | 3 | 39–58 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–58 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–63 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 40–63 |
CommentRequired | Public method and constructor comments are required | 3 | 44–47 |
ShortVariable | Avoid variables with short names like e | 3 | 44 |
CommentRequired | Public method and constructor comments are required | 3 | 48–52 |
ShortVariable | Avoid variables with short names like e | 3 | 48 |
CommentRequired | Public method and constructor comments are required | 3 | 53–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 39–64 |
DataClass | The class 'SuperThematique' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=4, WMC=4) | 3 | 39–64 |
ShortVariable | Avoid variables with short names like id | 3 | 41 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 41 |
FieldNamingConventions | The field name 'libelleSuperThematique' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 42 |
ShortVariable | Avoid variables with short names like id | 3 | 49 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
DataClass | The class 'Thematique' is suspected to be a Data Class (WOC=0.000%, NOPA=0, NOAM=8, WMC=8) | 3 | 41–87 |
CommentRequired | Header comments are required | 3 | 41–87 |
ShortVariable | Avoid variables with short names like id | 3 | 43 |
FieldNamingConventions | The field name 'id' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 43 |
FieldNamingConventions | The field name 'intituleThematique' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 44 |
FieldNamingConventions | The field name 'numeroLotThematique' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 45 |
FieldNamingConventions | The field name 'superThematique' doesn't match '_[a-z][a-zA-Z0-9]*' | 1 | 46 |
ShortVariable | Avoid variables with short names like id | 3 | 53 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 39–58 |
CommentRequired | Header comments are required | 3 | 39–58 |
CommentRequired | Public method and constructor comments are required | 3 | 41–43 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 41–43 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 41–43 |
CommentRequired | Public method and constructor comments are required | 3 | 45–48 |
CommentRequired | Public method and constructor comments are required | 3 | 50–57 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 40–59 |
CommentRequired | Header comments are required | 3 | 40–59 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 42–44 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 42–44 |
CommentRequired | Public method and constructor comments are required | 3 | 42–44 |
CommentRequired | Public method and constructor comments are required | 3 | 46–49 |
CommentRequired | Public method and constructor comments are required | 3 | 51–58 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 40–59 |
MissingSerialVersionUID | Classes implementing Serializable should set a serialVersionUID | 3 | 40–59 |
UncommentedEmptyConstructor | Document empty constructor | 3 | 42–44 |
CommentRequired | Public method and constructor comments are required | 3 | 42–44 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 42–44 |
CommentRequired | Public method and constructor comments are required | 3 | 46–49 |
CommentRequired | Public method and constructor comments are required | 3 | 51–58 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 48–149 |
FieldNamingConventions | The final field name '_gson' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 50 |
FieldNamingConventions | The final field name '_referentielBaseUrl' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 51 |
FieldNamingConventions | The final field name '_xGraviteeApiKey' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 52 |
CommentRequired | Public method and constructor comments are required | 3 | 54–65 |
CommentRequired | Public method and constructor comments are required | 3 | 68–79 |
CommentRequired | Public method and constructor comments are required | 3 | 82–87 |
CommentRequired | Public method and constructor comments are required | 3 | 88–93 |
CommentRequired | Protected method constructor comments are required | 3 | 95–121 |
TooFewBranchesForASwitchStatement | A switch with less than three branches is inefficient, use a if statement instead. | 3 | 108–116 |
SwitchStmtsShouldHaveDefault | Switch statements should have a default label | 3 | 108–116 |
AvoidReassigningParameters | Avoid reassigning parameters such as 'mapHeadersRequest' | 2 | 123 |
CommentRequired | Protected method constructor comments are required | 3 | 123–133 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
ClassNamingConventions | The utility class name 'Constants' doesn't match '[A-Z][a-zA-Z0-9]+(Utils?|Helper|Home|Service)' | 1 | 38–99 |
ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 38–99 |
CommentRequired | Header comments are required | 3 | 38–99 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 44 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 45 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 46 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 47 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 48 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 49 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 50 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 51 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 52 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 53 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 54 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 55 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 56 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 57 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 58 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 59 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 60 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 61 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 63 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 64 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 65 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 66 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 67 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 68 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 69 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 70 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 71 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 72 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 73 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 74 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 75 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 76 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 77 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 78 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 79 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 80 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 81 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 87 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 91 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 93 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 95 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 96 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 98 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.referentielfo.v1.model.SecteurDto' | 4 | 37 |
CommentRequired | Header comments are required | 3 | 42–50 |
CommentRequired | Public method and constructor comments are required | 3 | 45 |
CommentRequired | Public method and constructor comments are required | 3 | 47 |
ShortVariable | Avoid variables with short names like id | 3 | 47 |
CommentRequired | Public method and constructor comments are required | 3 | 49 |
ShortVariable | Avoid variables with short names like id | 3 | 49 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'java.util.Optional' | 4 | 41 |
CommentRequired | Header comments are required | 3 | 43–79 |
CommentRequired | Public method and constructor comments are required | 3 | 78 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.referentielfo.v1.model.PaysDto' | 4 | 37 |
CommentRequired | Header comments are required | 3 | 42–48 |
CommentRequired | Public method and constructor comments are required | 3 | 45 |
CommentRequired | Public method and constructor comments are required | 3 | 47 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'fr.paris.lutece.plugins.referentielfo.v1.model.PaysDto' | 4 | 37 |
UnusedImports | Avoid unused imports such as 'java.util.List' | 4 | 40 |
CommentRequired | Header comments are required | 3 | 42–45 |
CommentRequired | Public method and constructor comments are required | 3 | 44 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 44–61 |
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 |
CommentRequired | Public method and constructor comments are required | 3 | 56 |
CommentRequired | Public method and constructor comments are required | 3 | 58 |
CommentRequired | Public method and constructor comments are required | 3 | 60 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 41–81 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 41–47 |
CommentRequired | Public method and constructor comments are required | 3 | 44 |
CommentRequired | Public method and constructor comments are required | 3 | 46 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 41–67 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 41–48 |
CommentRequired | Public method and constructor comments are required | 3 | 43 |
CommentRequired | Public method and constructor comments are required | 3 | 45 |
ShortVariable | Avoid variables with short names like id | 3 | 45 |
CommentRequired | Public method and constructor comments are required | 3 | 47 |
ShortVariable | Avoid variables with short names like id | 3 | 47 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 45–61 |
CommentRequired | Public method and constructor comments are required | 3 | 48 |
ShortVariable | Avoid variables with short names like id | 3 | 50 |
CommentRequired | Public method and constructor comments are required | 3 | 50 |
CommentRequired | Public method and constructor comments are required | 3 | 52 |
ShortVariable | Avoid variables with short names like id | 3 | 54 |
CommentRequired | Public method and constructor comments are required | 3 | 54 |
CommentRequired | Public method and constructor comments are required | 3 | 56 |
CommentRequired | Public method and constructor comments are required | 3 | 58 |
CommentRequired | Public method and constructor comments are required | 3 | 60 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonMappingException' | 4 | 37 |
CommentRequired | Header comments are required | 3 | 49–135 |
CommentRequired | Public method and constructor comments are required | 3 | 52–55 |
CommentRequired | Public method and constructor comments are required | 3 | 56–59 |
ShortVariable | Avoid variables with short names like id | 3 | 83 |
ShortVariable | Avoid variables with short names like id | 3 | 110 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 51–191 |
CommentRequired | Public method and constructor comments are required | 3 | 54–57 |
CommentRequired | Public method and constructor comments are required | 3 | 58–61 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 63 |
AvoidDuplicateLiterals | The String literal "error during mapping response" appears 5 times in this file; the first occurrence is on line 88 | 3 | 88 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 50–109 |
CommentRequired | Public method and constructor comments are required | 3 | 53–56 |
CommentRequired | Public method and constructor comments are required | 3 | 57–60 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 46–84 |
CommentRequired | Public method and constructor comments are required | 3 | 49–52 |
CommentRequired | Public method and constructor comments are required | 3 | 53–56 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 48–272 |
CommentRequired | Public method and constructor comments are required | 3 | 51–54 |
CommentRequired | Public method and constructor comments are required | 3 | 55–58 |
AvoidDuplicateLiterals | The String literal "error during mapping response" appears 5 times in this file; the first occurrence is on line 76 | 3 | 76 |
AvoidDuplicateLiterals | The String literal "L'id renseigné est null" appears 4 times in this file; the first occurrence is on line 87 | 3 | 87 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 87 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 115 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 140 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 143 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 166 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 169 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 173 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 196 |
AvoidThrowingNullPointerException | Avoid throwing null pointer exceptions. | 1 | 199 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 203 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 51–205 |
CommentRequired | Public method and constructor comments are required | 3 | 54–57 |
CommentRequired | Public method and constructor comments are required | 3 | 58–61 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 50–109 |
CommentRequired | Public method and constructor comments are required | 3 | 53–56 |
CommentRequired | Public method and constructor comments are required | 3 | 57–60 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 53–139 |
CommentRequired | Public method and constructor comments are required | 3 | 56–59 |
CommentRequired | Public method and constructor comments are required | 3 | 60–63 |
FieldDeclarationsShouldBeAtStartOfClass | Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. | 3 | 65 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
UnusedImports | Avoid unused imports such as 'com.fasterxml.jackson.databind.JsonMappingException' | 4 | 37 |
CommentRequired | Header comments are required | 3 | 49–135 |
CommentRequired | Public method and constructor comments are required | 3 | 52–55 |
CommentRequired | Public method and constructor comments are required | 3 | 56–59 |
ShortVariable | Avoid variables with short names like id | 3 | 83 |
ShortVariable | Avoid variables with short names like id | 3 | 110 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 52–227 |
CommentRequired | Public method and constructor comments are required | 3 | 55–58 |
CommentRequired | Public method and constructor comments are required | 3 | 59–62 |
AvoidDuplicateLiterals | The String literal "error during mapping response" appears 7 times in this file; the first occurrence is on line 83 | 3 | 83 |
ShortVariable | Avoid variables with short names like id | 3 | 89 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 91 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 94 |
ShortVariable | Avoid variables with short names like id | 3 | 140 |
PrematureDeclaration | Avoid declaring a variable if it is unreferenced before a possible exit point. | 3 | 142 |
AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 145 |
Rule | Violation | Priority | Ligne |
---|---|---|---|
CommentRequired | Header comments are required | 3 | 55–163 |
MissingOverride | The method 'create(Gson, TypeToken)' is missing an @Override annotation. | 3 | 59–65 |
CommentRequired | Public method and constructor comments are required | 3 | 59–65 |
CommentRequired | Public method and constructor comments are required | 3 | 73–83 |
CallSuperInConstructor | It is a good practice to call super() in a constructor | 3 | 73–83 |
MissingOverride | The method 'read(JsonReader)' is missing an @Override annotation. | 3 | 106–112 |
CommentRequired | Public method and constructor comments are required | 3 | 106–112 |
ShortVariable | Avoid variables with short names like in | 3 | 106 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 114–152 |
AvoidCatchingGenericException | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 3 | 118 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 145 |
PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 145 |
AvoidSynchronizedAtMethodLevel | Use block level rather than method level synchronization | 3 | 154–162 |
CommentRequired | Public method and constructor comments are required | 3 | 154–162 |
MissingOverride | The method 'write(JsonWriter, Date)' is missing an @Override annotation. | 3 | 154–162 |