Program 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.
Program Units
API ID: CountDeclProgUnitLanguages: Fortran
Targets: Architectures, Files, Project
Number of non-nested modules, block data units, and subprograms.
Targets By Language:- Fortran: Project, File
- For projects and architectures, this metric is enabled from "Project Configuration/Metrics/Projects and Architectures" with the "Show aggregated file metrics" option.