| Active/Severity | Name [expand / collapse] | Sort by: | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Deprecated
Checks the style of array type definitions. Some like Java-style: public static void main(String[] args) and some like C-style: public static void main(String args[]) This rule is deprecated, use squid:S1197 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Finds nested blocks. This rule is deprecated, use squid:S1199 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
This rule allows to find any kind of pattern inside comments like TODO, NOPMD, ..., except NOSONAR This rule is deprecated, use squid:S1135, squid:S1310 and squid:S1315 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks that constant names conform to the specified format This rule is deprecated, use squid:S00115 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks for empty blocks. This rule is deprecated, use squid:S00108 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
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. Example :
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForIteratorPadCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Detects empty statements (standalone ';'). This rule is deprecated, use squid:EmptyStatementUsageCheck instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks that classes that override equals() also override hashCode(). This rule is deprecated, use squid:S1206 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks for long source files. Rationale: If a source file becomes very long it is hard to understand. Therefore long classes should usually be refactored into several individual classes that focus on a specific task. This rule is deprecated, use squid:S00104 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks that there are no tab characters ('\t') in the source code. Rationale:
This rule is deprecated, use squid:S00105 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Check that method/constructor/catch/foreach parameters are final. This rule is deprecated, use squid:S1226 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks that a local variable or a parameter does not shadow a field that is defined in the same class. This rule is deprecated, use squid:HiddenFieldCheck instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Make sure that utility classes (classes that contain only static methods) do not have a public constructor. This rule is deprecated, use squid:S1118 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks for imports from a set of illegal packages, like sun.* This rule is deprecated, use squid:ArchitecturalConstraint instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks for assignments in subexpressions, such as in String s = Integer.toString(i = 2);. This rule is deprecated, use squid:AssignmentInSubExpressionCheck instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Implements Bloch, Effective Java, Item 17 - Use Interfaces only to define types. According to Bloch, an interface should describe a type. It is therefore inappropriate to define an interface that does not contain any methods but only constants. The Standard class javax.swing.SwingConstants is an example of a class that would be flagged by this check. The check can be configured to also disallow marker interfaces like java.io.Serializable, that do not contain methods or constants at all. This rule is deprecated, use squid:S1214 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks the Javadoc of a method or constructor. By default, does not check for unused throws.
To allow documented java.lang.RuntimeExceptions that are not declared, set property allowUndeclaredRTE to true.
The scope to verify is specified using the Scope class and defaults to Scope.PRIVATE.
To verify another scope, set property scope to a different scope.
This rule is deprecated, use squid:UndocumentedApi instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Validates Javadoc comments to help ensure they are well formed. The following checks are performed:
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks Javadoc comments for class and interface definitions. By default, does not check for author or version tags.
The scope to verify is specified using the Scope class and defaults to Scope.PRIVATE. To verify another scope, set property scope to one of the Scope constants.
To define the format for an author tag or a version tag, set property authorFormat or versionFormat respectively to a regular expression.
This rule is deprecated, use squid:UndocumentedApi instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks that a variable has Javadoc comment. This rule is deprecated, use squid:UndocumentedApi instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks for the placement of left curly braces for code blocks. The policy to verify is specified using property option. Policies This rule is deprecated, use squid:LeftCurlyBraceStartLineCheck and squid:LeftCurlyBraceEndLineCheck instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||
|
Deprecated
Checks for long lines. This rule is deprecated, use squid:S00103 instead.
Repository: checkstyle
Key: com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck
Available since 07 Jan 2014
|
||||||||||||||||||||||||