Coverage Functions Hit 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.
Coverage Functions Hit
API ID: CoverageFunctionsHitLanguages: Any
Targets: Architectures, Files, Project
The number of functions in the file that had coverage hits
Code coverage is run time information about how many times a line of code was executed. These plugins support reading coverage information from a lcov ↗ ".info" file. By default, the file is assumed to be in the same directory as the .und project and be named "coverage.info", but the file can be set per project from project configuration.
- Directory
- project.und
- coverage.info
- ...
See also the blog articles Visualize Code Coverage in Understand ↗ and Showing Line Coverage ↗.