Checkstyle is a development tool to help programmers write Java code that adheres to a coding standard. Its purpose is to automate the process of checking Java code, and to spare humans of this task.
|Tags||Software Development Quality Assurance|
|Operating Systems||OS Independent|
Release Notes: OuterTypeFilename was added, which checks that the outer type name and the file name match. PackageDeclaration was enhanced to optionally check that the package name matches the name of the directory containing the file. NestedForDepth was added, which restricts nested for blocks to a specified depth (default = 1). MethodCount was added, which checks the number of methods declared in each type. OneStatementPerLine was added, which checks that there is only one statement per line. MagicNumber was enhanced to support the parameter ignoreHashCodeMethod to ignore magic numbers in hashCode() methods. AbstractClassName was enhanced to support checking that matching classes have the abstract modifier. The property types stringSet and intSet were enhanced to support being supplied multiple times to construct the equivalent of a comma separated list. AvoidStarImport was enhanced to support the properties allowClassImports and allowStaticMemberImports for finer control over what is allowed.
Release Notes: Many changes were made for Java 5.
Release Notes: This major release is built on and supports Java 5.
No changes have been submitted for this release.
Release Notes: This release contains a number of enhancements and bugfixes. The highlights include performance improvements in the StrictDuplicateCode check and a new CrossLanguageRegexpHeader check that allows checking file headers for languages other than Java.