The Structural Analysis code review applies rules that mine code structure for antipatterns. Antipatterns are structural problems where a component has a large number of elements that either depend on it, or that it depends on, which create code that is unnecessarily complex and hard to maintain.
You can modify the supplied rules and create additional ones. For example, if you want to ensure that the integrity of your application architecture is maintained throughout the development process, you can define rules for architectural control. These rules are then included in the Structural Analysis code review.
When you run the Structural Analysis code review or the Design Principles rules on your code, you can see if any new dependencies or changes to the structure are introduced, and fix these problems early in the development process.
Detailed information on a rule
You can get information about each rule, category, and code review in the Preferences window. See "Java™ preferences - Code Review page" for details.
Parent topic: Structural analysis