Executable Units 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.
Executable Units
API ID: CountDeclExecutableUnitLanguages: Ada, Basic, C#, Fortran, Java, Pascal, Python, Web
Targets: Architectures, Files, Project
Number of program units with executable code.
Targets By Language:- Ada: Project, File
- Basic: Project, File
- C#: Project, File
- Fortran: Project, File
- Java: Project, File
- Pascal: Project, File
- Python: Project, File
- Web: Project, File
- For projects and architectures, this metric is enabled from "Project Configuration/Metrics/Projects and Architectures" with the "Show aggregated file metrics" option.