From 9dd92fc237a54a1f99f89cdb168a0220307c24f8 Mon Sep 17 00:00:00 2001
From: Oliver Burn Checks for import statements that are not used. It will warn about wild-card imports like import java.io.*;. It will also warn about duplicate import statements. Removing unused import statements reduces unnecessary dependencies in a code base. This feature can be turned off. Checks for lines that are longer that a specified length. The default is "80". This can be turned off for Checks for lines that are longer than a specified length. The default is "80". This can be turned off for Checks for method bodies that are longer that a specified number of lines. The default is "150".
+ Checks for method bodies that are longer than a specified number of lines. The default is "150".
Checks for constructor bodies that are longer that a specified number of lines. The default is "150".
+ Checks for constructor bodies that are longer than a specified number of lines. The default is "150".
Checks for files that are longer that a specified number of lines. The default is "2000".
+ Checks for files that are longer than a specified number of lines. The default is "2000".
Checks for lines that contain tab ( Verifies that the format of public member names conform to a specified regular expression. The default is ^f[A-Z][a-zA-Z0-9]*$. This is useful for the fields required for Container Managed Persistence (CMP) Enterprise JavaBeans 1.1. Checks for data members that are not declared Note: you can turn on allowing Container Managed Persistence EJBs require that managed fields are declared public. This will cause checkstyle to complain that the fields should be declared private. Hence checkstyle supports ignoring public that match a specified regular expression. The default is ^f[A-Z][a-zA-Z0-9]*$. Container Managed Persistence EJBs require (in the EJB 1.1 specification) that managed fields are declared public. This will cause checkstyle to complain that the fields should be declared private. Hence checkstyle supports ignoring public that match a specified regular expression. The default is ^f[A-Z][a-zA-Z0-9]*$.What checkstyle checks
-Unused Imports
+Imports
Long Lines
-import statements.import statements.Method Body Length
-Constructor Body Length
-File Length
-Tab characters
'\t') characters. This can be turned off.Access Permissions
+Visibility Modifiers
private. Also finds static non-final data members that are not declared as private.protected data members.Tip
-White space
diff --git a/docs/index.html b/docs/index.html
index 3ac9c2658..6942f546b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -75,30 +75,23 @@
Sun Code Conventions. However, Checkstyle is highly configurable.
- My experience from using a similar proprietary tool at a previous employer - was that it increased the productivity of code reviews. This is because it - allowed the reviewers to get on with reviewing the code and not get into - "style" debates. -
-The things that checkstyle checks for are:
+The things that Checkstyle can check for are: