CoverageSummaryLoaderInterface
Interface
Loads PHPUnit `coverage-php` reports and exposes their line coverage summary.
Methods
load()
: CoverageSummary
Loads the coverage summary from a PHPUnit `coverage-php` report file.
Methods
Loads the coverage summary from a PHPUnit `coverage-php` report file.
public
load(
string
$coverageReportPath) : CoverageSummary
Parameters
$coverageReportPath
:
string
Description
Path to the PHPUnit coverage-php report file
throws
RuntimeException
Description
When the report file does not exist or contains invalid data
Return values
Description
Extracted coverage summary