scitools.com

← Metric catalog

Coverage Lines Percentage 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 Lines Percentage

API ID: CoverageLinesPercent
Languages: Any
Targets: Architectures, Files, Project
CoverageLinesHit / CoverageLinesFound

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.

See also the blog articles Visualize Code Coverage in Understand ↗ and Showing Line Coverage ↗.