Running software metrics analysis

Unlike code review, software metrics does not report code defects. It evaluates code properties that measure code quality characteristics, mainly code complexity. In this way, it is similar to architecture discovery which identifies overly complex code structures.

When you create an analysis configuration for software metrics, you choose which code properties to measure by selecting rule categories or individual rules.

You can select from well-known metric properties including Halstead and cyclomatic complexity.

Software metrics analyses include the following rule categories:

When a software metrics analysis runs, values are assigned to properties or rules at the package, class, and method level.


Feedback