Metrics

Learn about Metrics within Understand.

What Metrics Does Understand Have?
The metrics included with Understand have evolved over many years to accommodate common customer requests. However, we recognize that you may need something...
Mon, 15 May, 2023 at 2:13 PM
Exporting a CSV of the Hersteller Initiative Software (HIS) Metrics
Understand has a very extensible API for scanning projects in your own way. This script shows every result of the HIS metric suite - not just the violations...
Tue, 5 Dec, 2023 at 11:04 AM
Metrics Overview
Understand is very efficient at collecting metrics about the code it analyzes. These metrics can be extracted automatically via command line calls, exported...
Fri, 1 Oct, 2021 at 1:14 PM
How Do I Ignore All C/C++ #ifdefs and Parse All of the Code?
Since inactive regions of the code can contain just about anything, by default the code is completely skipped by the parser. The most common reason to w...
Wed, 29 Sep, 2021 at 4:19 PM
Understand the CountPath Metric
So imagine you’re reviewing metrics for a small function: 61 lines of code, pretty small, keeping functionality nice and modular. Good. Cyclomatic complexi...
Wed, 29 Sep, 2021 at 4:19 PM
Line and Statement Counting Metrics
Understand has many different metrics, including a large number that focus on counting the number of statements and lines of code, including Lines of Code (...
Wed, 29 Sep, 2021 at 4:19 PM
Understanding McCabe Cyclomatic Complexity
Cyclomatic complexity is a software metric used to measure how complicated a program is. Also known as Conditional complexity, it was developed by Thomas Mc...
Wed, 29 Sep, 2021 at 4:19 PM
Why Don’t Metrics Always Add Up?
"Shouldn’t Comment Lines + Blank Lines + Code Lines = Total Lines? And shouldn’t declarative statements and executable statements add up to the tot...
Mon, 25 Nov, 2024 at 10:44 AM
Cyclomatic Complexity
Cyclomatic Complexity, also known as McCabe Cyclomatic Complexity or Conditional Complexity, is the measure of the complexity of a function’s decision struc...
Wed, 29 Sep, 2021 at 4:16 PM
Source Lines of Code
The Source Lines of Code (SLOC)(LOC) metric counts the number of lines of source code in your project. Understand acts as a source code line counter and al...
Wed, 29 Sep, 2021 at 4:16 PM