Average Comment Lines (Includes Inactive) 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.
Average Comment Lines (Includes Inactive)
API ID: AvgCountLineCommentWithInactiveLanguages: C++
Targets: Classes, Files
Average number of lines containing comment for all nested functions or methods, including inactive regions.
- C++: File, Class, Struct, Union
- This metric can be disabled from "Project Configuration/Metrics/Lines and Statements" with the "Show line count metrics" option.
- This metric can be enabled from "Project Configuration/Metrics/Lines and Statements" with the "Include inactive lines" option.