Empty Statements is one of the source-code metrics Understand computes across 17+ languages — browse them in the GUI, export and track them, or script them with the Python API.
Empty Statements
API ID: CountStmtEmptyLanguages: C++
Targets: Architectures, Classes, Files, Functions, Project
Number of empty statements.
- C++: Project, File, Class, Struct, Union, Function
- This metric can be disabled from "Project Configuration/Metrics/Lines and Statements" with the "Show statement count metrics" option.