Résultats Checkstyle

Le document suivant contient les résultats de Checkstylerss feed

Résumé

FichiersInfos InfosAvertissements AvertissementsErreurs Erreurs
30047

Régles

RéglesViolationsSévèrité
Translation0Erreurs Error
LeftCurly
  • option: "nl"
0Erreurs Error
RightCurly
  • option: "alone"
0Erreurs Error
MemberName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
0Erreurs Error
StaticVariableName
  • format: "^_[a-z](_?[a-zA-Z0-9])*$"
0Erreurs Error
MethodName
  • format: "^[a-z][a-zA-Z0-9]*$"
0Erreurs Error
ParameterName
  • format: "^[a-z][a-zA-Z0-9]*$"
0Erreurs Error
LocalVariableName
  • format: "^[a-z][a-zA-Z0-9]*$"
0Erreurs Error
JavadocMethod7Erreurs Error
JavadocType0Erreurs Error
ConstantName
  • format: "[A-Z0-9]*$"
0Erreurs Error
PackageName
  • format: "^fr\.paris\.[a-z][a-z0-9\.]*$"
0Erreurs Error
TypeName0Erreurs Error
LocalFinalVariableName
  • format: "[A-Z0-9]*$"
0Erreurs Error
AvoidStarImport0Erreurs Error
IllegalImport0Erreurs Error
RedundantImport0Erreurs Error
UnusedImports0Erreurs Error
ParameterNumber0Avertissements Warning
ParenPad
  • option: "space"
33Erreurs Error
WhitespaceAround
  • tokens: "ASSIGN,EQUAL"
0Erreurs Error
ModifierOrder0Erreurs Error
RedundantModifier0Erreurs Error
AvoidNestedBlocks1Erreurs Error
EmptyBlock0Erreurs Error
NeedBraces1Erreurs Error
DoubleCheckedLocking0Erreurs Error
EmptyStatement1Erreurs Error
EqualsHashCode0Erreurs Error
HiddenField0Erreurs Error
IllegalInstantiation0Erreurs Error
InnerAssignment0Erreurs Error
MissingSwitchDefault0Erreurs Error
SimplifyBooleanExpression0Erreurs Error
SimplifyBooleanReturn0Erreurs Error
ArrayTrailingComma0Erreurs Error
CovariantEquals0Erreurs Error
DeclarationOrder0Erreurs Error
ExplicitInitialization0Erreurs Error
InnerAssignment0Erreurs Error
NestedIfDepth
  • max: "3"
0Erreurs Error
NestedTryDepth
  • max: "3"
0Erreurs Error
PackageDeclaration0Erreurs Error
ParameterAssignment0Erreurs Error
ReturnCount
  • max: "5"
0Avertissements Warning
StringLiteralEquality0Erreurs Error
SuperClone0Erreurs Error
SuperFinalize0Erreurs Error
FinalClass0Erreurs Error
HideUtilityClassConstructor1Erreurs Error
InterfaceIsType0Erreurs Error
VisibilityModifier0Erreurs Error
MutableException0Erreurs Error
ArrayTypeStyle
  • javaStyle: "true"
0Erreurs Error
RegexpSinglelineJava
  • format: "System\.out\.println"
0Erreurs Error
RegexpSinglelineJava
  • format: "System\.exit"
0Erreurs Error
RegexpSinglelineJava
  • message: "Line matches the illegal pattern ''printStackTrace''."
  • format: "[.]*\.printStackTrace"
0Erreurs Error
RegexpSinglelineJava
  • message: "Line matches the illegal pattern ''SELECT *''."
  • format: "[.]*SELECT \*"
  • ignoreCase: "true"
0Erreurs Error
RegexpSinglelineJava
  • message: "Line matches the illegal pattern ''WHERE 1''."
  • format: "[.]*WHERE 1 "
  • ignoreCase: "true"
0Erreurs Error
Header
  • fileExtensions: "java"
  • headerFile: "/opt/data/jenkins/home/jobs/cms-plugin-mvcdemo-doc-QA/workspace/target/checkstyle-header.txt"
3Erreurs Error

Détails

fr/paris/lutece/plugins/mvcdemo/business/Contact.java

ViolationMessageLigne
ErreursLine does not match expected header line of '/*'.1
Erreurs'(' is not followed by whitespace.45
Erreurs')' is not preceded with whitespace.45
Erreurs'(' is not followed by whitespace.63
Erreurs')' is not preceded with whitespace.63

fr/paris/lutece/plugins/mvcdemo/service/ContactService.java

ViolationMessageLigne
ErreursLine does not match expected header line of ' * Copyright (c) 2002-2012, Mairie de Paris'.2
ErreursUtility classes should not have a public or default constructor.44
ErreursMissing a Javadoc comment.49
Erreurs'(' is not followed by whitespace.49
Erreurs')' is not preceded with whitespace.49
Erreurs'(' is not followed by whitespace.51
Erreurs')' is not preceded with whitespace.51
ErreursMissing a Javadoc comment.54
ErreursMissing a Javadoc comment.59
Erreurs'(' is not followed by whitespace.59
Erreurs')' is not preceded with whitespace.59
Erreurs'(' is not followed by whitespace.63
Erreurs')' is not preceded with whitespace.63
Erreurs'if' construct must use '{}'s.64
Erreurs'(' is not followed by whitespace.64
Erreurs'(' is not followed by whitespace.64
Erreurs')' is not preceded with whitespace.64
Erreurs')' is not preceded with whitespace.64
ErreursEmpty statement.64
ErreursAvoid nested blocks.65
Erreurs'(' is not followed by whitespace.66
Erreurs')' is not preceded with whitespace.66

fr/paris/lutece/plugins/mvcdemo/web/MVCDemoApp.java

ViolationMessageLigne
ErreursLine does not match expected header line of ' * Copyright (c) 2002-2012, Mairie de Paris'.2
ErreursMissing a Javadoc comment.64
Erreurs'(' is not followed by whitespace.65
Erreurs')' is not preceded with whitespace.65
ErreursMissing a Javadoc comment.72
Erreurs'(' is not followed by whitespace.73
Erreurs')' is not preceded with whitespace.73
ErreursMissing a Javadoc comment.78
Erreurs'(' is not followed by whitespace.79
Erreurs')' is not preceded with whitespace.79
Erreurs'(' is not followed by whitespace.82
Erreurs')' is not preceded with whitespace.82
Erreurs'(' is not followed by whitespace.84
Erreurs')' is not preceded with whitespace.84
Erreurs')' is not preceded with whitespace.84
Erreurs'(' is not followed by whitespace.88
Erreurs')' is not preceded with whitespace.88
ErreursMissing a Javadoc comment.92
Erreurs'(' is not followed by whitespace.93
Erreurs')' is not preceded with whitespace.93