JavaCheckStyle¶
JavaAbbreviationAsWordInName¶
The Check validate abbreviations(consecutive capital letters) length in identifier name, it also allow in enforce camel case naming.
paquetage: | JavaCheckStyle |
---|
JavaAbstractClassName¶
Ensures that the names of abstract classes conforming to some regular expression.
paquetage: | JavaCheckStyle |
---|
JavaAnnotationUseStyle¶
This check controls the style with the usage of annotations.
paquetage: | JavaCheckStyle |
---|
JavaArrayTrailingComma¶
Checks if array initialization contains optional trailing comma.
paquetage: | JavaCheckStyle |
---|
JavaAvoidStarImport¶
Check that finds import statements that use the * notation.
paquetage: | JavaCheckStyle |
---|
JavaBooleanExpressionComplexity¶
Restricts nested boolean operators (&&, ||, &, | and ^) to a specified depth (default = 3).
paquetage: | JavaCheckStyle |
---|
JavaClassDataAbstractionCoupling¶
This metric measures the number of instantiations of other classes within the given class.
paquetage: | JavaCheckStyle |
---|
JavaClassFanOutComplexity¶
The number of other classes a given class relies on.
paquetage: | JavaCheckStyle |
---|
JavaClassTypeParameterName¶
Checks that class type parameter names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaConstantName¶
Checks that constant names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaCovariantEquals¶
Checks that if a class defines a covariant method equals, then it defines method equals(java.lang.Object).
paquetage: | JavaCheckStyle |
---|
JavaCustomImportOrder¶
Checks that the groups of import declarations appear in the order specified by the user.
paquetage: | JavaCheckStyle |
---|
JavaCyclomaticComplexity¶
Checks cyclomatic complexity against a specified limit.
paquetage: | JavaCheckStyle |
---|
JavaDeclarationOrder¶
Checks that the parts of a class or interface declaration appear in the order suggested by the Code Conventions for the Java Programming Language
paquetage: | JavaCheckStyle |
---|
JavaDefaultComesLast¶
Check that the default is after all the cases in a switch statement.
paquetage: | JavaCheckStyle |
---|
JavaEmptyForInitializerPad¶
Checks the padding of an empty for initializer; that is whether a space is required at an empty for initializer, or such spaces are forbidden.
paquetage: | JavaCheckStyle |
---|
JavaEmptyForIteratorPad¶
Checks the padding of an empty for iterator; that is whether a space is required at an empty for iterator, or such spaces are forbidden.
paquetage: | JavaCheckStyle |
---|
JavaEqualsAvoidNull¶
Checks that any combination of String literals with optional assignment is on the left side of an equals() comparison.
paquetage: | JavaCheckStyle |
---|
JavaEqualsHashCode¶
Checks that classes that override equals() also override hashCode().
paquetage: | JavaCheckStyle |
---|
JavaExecutableStatementCount¶
Restricts the number of executable statements to a specified limit (default = 30).
paquetage: | JavaCheckStyle |
---|
JavaExplicitInitialization¶
Checks if any class or object member explicitly initialized to default for its type value (null for object references, zero for numeric types and char and false for boolean.
paquetage: | JavaCheckStyle |
---|
JavaFallThrough¶
Checks for fall through in switch statements Finds locations where a case contains Java code - but lacks a break, return, throw or continue statement.
paquetage: | JavaCheckStyle |
---|
JavaFinalClass¶
Checks that class which has only private ctors is declared as final.
paquetage: | JavaCheckStyle |
---|
JavaFinalLocalVariable¶
Ensures that local variables that never get their values changed, must be declared final.
paquetage: | JavaCheckStyle |
---|
JavaFinalParameters¶
Check that method/constructor/catch/foreach parameters are final.
paquetage: | JavaCheckStyle |
---|
JavaGenericWhitespace¶
Checks that the whitespace around the Generic tokens < and > are correct to the typical convention.
paquetage: | JavaCheckStyle |
---|
JavaHideUtilityClassConstructor¶
Make sure that utility classes (classes that contain only static methods) do not have a public constructor.
paquetage: | JavaCheckStyle |
---|
JavaIllegalCatch¶
Catching java.lang.Exception, java.lang.Error or java.lang.RuntimeException is almost never acceptable.
paquetage: | JavaCheckStyle |
---|
JavaIllegalInstantiation¶
Checks for illegal instantiations where a factory method is preferred.
paquetage: | JavaCheckStyle |
---|
JavaIllegalThrows¶
Throwing java.lang.Error or java.lang.RuntimeException is almost never acceptable.
paquetage: | JavaCheckStyle |
---|
JavaIllegalType¶
Checks that particular class are never used as types in variable declarations, return values or parameters.
paquetage: | JavaCheckStyle |
---|
JavaImportControl¶
Check that controls what packages can be imported in each package.
paquetage: | JavaCheckStyle |
---|
JavaInnerAssignment¶
Checks for assignments in subexpressions, such as in String s = Integer.toString(i = 2);.
paquetage: | JavaCheckStyle |
---|
JavaInnerTypeLast¶
Check nested (internal) classes/interfaces are declared at the bottom of the class after all method and field declarations.
paquetage: | JavaCheckStyle |
---|
JavaInterfaceIsType¶
Implements Bloch, Effective Java, Item 17 - Use Interfaces only to define types.
paquetage: | JavaCheckStyle |
---|
JavaInterfaceTypeParameterName¶
Checks that interface type parameter names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaJavaNCSS¶
This check calculates the Non Commenting Source Statements (NCSS) metric for Java source files and methods.
paquetage: | JavaCheckStyle |
---|
JavaJavadocTagContinuationIndentation¶
Checks the indentation of the continuation lines in at-clauses.
paquetage: | JavaCheckStyle |
---|
JavaLeftCurly¶
Checks the placement of left curly braces on types, methods and other blocks:
paquetage: | JavaCheckStyle |
---|
JavaLocalFinalVariableName¶
Checks that local final variable names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaLocalVariableName¶
Checks that local, non-final variable names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaMemberName¶
Checks that instance variable names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaMethodName¶
Checks that method names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaMethodParamPad¶
Checks the padding between the identifier of a method definition, constructor definition, method call, or constructor invocation; and the left parenthesis of the parameter list.
paquetage: | JavaCheckStyle |
---|
JavaMethodTypeParameterName¶
Checks that class type parameter names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaMissingCtor¶
Checks that classes (except abstract one) define a ctor and don’t rely on the default one.
paquetage: | JavaCheckStyle |
---|
JavaMissingSwitchDefault¶
Checks that switch statement has “default” clause.
paquetage: | JavaCheckStyle |
---|
JavaModifiedControlVariable¶
Check for ensuring that for loop control variables are not modified inside the for block.
paquetage: | JavaCheckStyle |
---|
JavaModifierOrder¶
Checks that the order of modifiers conforms to the suggestions in the Java Language specification, sections 8.1.1, 8.3.1 and 8.4.3.
paquetage: | JavaCheckStyle |
---|
JavaMultipleStringLiterals¶
Checks for multiple occurrences of the same string literal within a single file.
paquetage: | JavaCheckStyle |
---|
JavaMultipleVariableDeclarations¶
Checks that each variable declaration is in its own statement and on its own line.
paquetage: | JavaCheckStyle |
---|
JavaMutableException¶
Ensures that exceptions (defined as any class name conforming to some regular expression) are immutable.
paquetage: | JavaCheckStyle |
---|
JavaNPathComplexity¶
Checks the npath complexity against a specified limit (default = 200).
paquetage: | JavaCheckStyle |
---|
JavaNestedForDepth¶
Restricts nested for blocks to a specified depth (default = 1).
paquetage: | JavaCheckStyle |
---|
JavaNestedIfDepth¶
Restricts nested if-else blocks to a specified depth (default = 1).
paquetage: | JavaCheckStyle |
---|
JavaNestedTryDepth¶
Restricts nested try-catch-finally blocks to a specified depth (default = 1).
paquetage: | JavaCheckStyle |
---|
JavaNewlineAtEndOfFile¶
Checks that there is a newline at the end of each file.
paquetage: | JavaCheckStyle |
---|
JavaNoClone¶
Checks that the clone method is not overridden from the Object class.
paquetage: | JavaCheckStyle |
---|
JavaNoFinalizer¶
Checks that no method having zero parameters is defined using the name finalize.
paquetage: | JavaCheckStyle |
---|
JavaNonEmptyAtclauseDescription¶
Checks that the at-clause tag is followed by description .
paquetage: | JavaCheckStyle |
---|
JavaOneTopLevelClass¶
Checks that each top-level class, interfaces or enum resides in a source file of its own.
paquetage: | JavaCheckStyle |
---|
JavaOuterTypeFilename¶
Checks that the outer type name and the file name match.
paquetage: | JavaCheckStyle |
---|
JavaOuterTypeNumber¶
Checks for the number of defined types at the “outer” level.
paquetage: | JavaCheckStyle |
---|
JavaPackageAnnotation¶
This check makes sure that all package annotations are in the package-info.java file.
paquetage: | JavaCheckStyle |
---|
JavaPackageDeclaration¶
Ensures there is a package declaration and (optionally) in the correct directory.
paquetage: | JavaCheckStyle |
---|
JavaPackageName¶
Checks that package names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaParameterName¶
Checks that parameter names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaParameterNumber¶
Checks the number of parameters that a method or constructor has.
paquetage: | JavaCheckStyle |
---|
JavaParenPad¶
Checks the padding of parentheses; that is whether a space is required after a left parenthesis and before a right parenthesis, or such spaces are forbidden, with the exception that it does not check for padding of the right parenthesis at an empty for iterator.
paquetage: | JavaCheckStyle |
---|
JavaRedundantModifier¶
Checks for redundant modifiers in interface and annotation definitions.
paquetage: | JavaCheckStyle |
---|
JavaRegexp¶
A check that makes sure that a specified pattern exists (or not) in the file.
paquetage: | JavaCheckStyle |
---|
JavaRegexpHeader¶
Checks the header of the source against a header file that contains a
paquetage: | JavaCheckStyle |
---|
JavaRegexpMultiline¶
Implementation of a check that looks that matches across multiple lines in any file type.
paquetage: | JavaCheckStyle |
---|
JavaRegexpSingleline¶
Implementation of a check that looks for a single line in any file type.
paquetage: | JavaCheckStyle |
---|
JavaRegexpSinglelineJava¶
Implementation of a check that looks for a single line in Java files.
paquetage: | JavaCheckStyle |
---|
JavaReturnCount¶
Restricts return statements to a specified count (default = 2).
paquetage: | JavaCheckStyle |
---|
JavaSingleLineJavadoc¶
Checks that a JavaDoc block which can fit on a single line and doesn’t contain at-clauses
paquetage: | JavaCheckStyle |
---|
JavaSimplifyBooleanExpression¶
Checks for overly complicated boolean expressions.
paquetage: | JavaCheckStyle |
---|
JavaSimplifyBooleanReturn¶
Checks for overly complicated boolean return statements.
paquetage: | JavaCheckStyle |
---|
JavaStaticVariableName¶
Checks that static, non-final variable names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaStringLiteralEquality¶
Checks that string literals are not used with == or !=.
paquetage: | JavaCheckStyle |
---|
JavaSummaryJavadoc¶
Checks that Javadoc summary sentence does not contain phrases that are not recommended to use.
paquetage: | JavaCheckStyle |
---|
JavaSuperClone¶
Checks that an overriding clone() method invokes super.clone().
paquetage: | JavaCheckStyle |
---|
JavaSuperFinalize¶
Checks that an overriding finalize() method invokes super.finalize().
paquetage: | JavaCheckStyle |
---|
JavaSuppressWarningsHolder¶
This check allows for finding code that should not be reported by Checkstyle
paquetage: | JavaCheckStyle |
---|
JavaThrowsCount¶
Restricts throws statements to a specified count (default = 1).
paquetage: | JavaCheckStyle |
---|
JavaTrailingComment¶
The check to ensure that requires that comments be the only thing on a line.
paquetage: | JavaCheckStyle |
---|
JavaTranslation¶
The TranslationCheck class helps to ensure the correct translation of code by checking property files for consistency regarding their keys.
paquetage: | JavaCheckStyle |
---|
JavaTypeName¶
Checks that type names conform to a format specified by the format property.
paquetage: | JavaCheckStyle |
---|
JavaUnnecessaryParentheses¶
Checks if unnecessary parentheses are used in a statement or expression.
paquetage: | JavaCheckStyle |
---|
JavaVariableDeclarationUsageDistance¶
Checks the distance between declaration of variable and its first usage.
paquetage: | JavaCheckStyle |
---|
JavaWhitespaceAfter¶
Checks that a token is followed by whitespace, with the exception that it does not check for whitespace after the semicolon of an empty for iterator.
paquetage: | JavaCheckStyle |
---|