Code reviews

A static analysis code review compares the source code of an application with a set of coding standards to ensure that the source code complies with those standards, to find unwanted dependencies, and to ensure that the intended structural design of the code is maintained.

The automated code reviews that are part of the analysis feature, comprise categorized sets of rules that focus on particular aspects of software quality (such as globalization) and compliance (such as J2EE best practices). For example, among several subcategories of J2EE best practices, the Maintainability category contains rules that can find code that might be difficult to maintain in J2EE applications.

When a code review finds source code that conflicts with a rule, it generates a result. Code review results recommend the action you should take to overcome existing problems, or avoid potential problems, before they can affect the performance of an application, its maintenance, security, or scalability. Automated code reviews are fast, so you can run code reviews often throughout the development life cycle of your application or product.

Running regular automated code reviews during the software development process can provide the following benefits:

The Code Review for Java™ domain provides rules in the following rule categories:
Related tasks
Running a code review
Viewing code review results
Applying quick fixes to code review results
Running a code review from the command line
Running a code review as an Ant task
Related reference
Code review reference
Rule categories and subcategories
Command line code review reference