JStyle is an automated Java code review tool which knows about important Java coding guidelines practiced widely by expert Java developers, and can quickly apply these to any Java code. A major advantage of JStyle is that a team can customize the Java coding guidelines to be enforced during code inspection, and can plug-in newer guidelines if necessary. By supporting a batch-mode of operation, JStyle even makes it possible for you to perform the Java code inspection as part of every build, if necessary.
As part of the static analysis that JStyle performs on your Java code, it additionally computes several valuable object-oriented metrics, besides some conventional ones. Metrics such as Depth of Inheritance Tree (DIT), Lack of Cohesion in Methods (LCOM), and Response for Class (RFC) are believed to indicate code complexity from maintenance and reuse angles.