Preprocessor Lines 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.
Preprocessor Lines
API ID: CountLinePreprocessorLanguages: Ada, C#, C++
Targets: Architectures, Classes, Files, Functions, Packages, Project, Subprograms
Number of preprocessor lines.
- Ada: Project, File, Type, Entry, Function, Package, Procedure, Protected, Task
- C#: Project, File, Class, Method
- C++: Project, File, Class, Struct, Union, Function
- This metric can be disabled from "Project Configuration/Metrics/Lines and Statements" with the "Show line count metrics" option.
- For projects and architectures, this metric is enabled from "Project Configuration/Metrics/Projects and Architectures" with the "Show default summary metrics" option.