A structural analysis code review is the only review that looks
at the underlying structure of a code base and analyzes the dependencies between
the components of the system.
You can run structural analysis code reviews on the workspace, a working
set, or a project. You run structural analysis code reviews to analyze dependencies
between components and to resolve design errors in code early in the development
process. You can also create architectural control rules to extend the capabilities
of supplied code reviews. By running a code review that applies your rules,
you ensure that the integrity of your application architecture is carried
out in the implementation process.
To run a structural analysis code review, you complete the following
tasks:
- Open the Code Review view.
- Select the Structural Analysis code review to run.
- Define the code review scope.
- Run the code review.
- Work with the code review findings.
- Fix problems in the code.
Note: If you run the Structural Analysis code review on a single
file, no results are displayed.