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 that you should take to overcome or avoid problems, before they 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 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 code reviews
Viewing code review results
Applying quick fixes to code review results
Running code reviews from the command line
Running code reviews as Ant tasks
Related reference
Code review reference
Rule categories and subcategories reference
Command line code review reference

Feedback