Skip to content

CoverageSummaryLoader

github-actions edited this page Apr 11, 2026 · 1 revision

Loads line coverage metrics from the serialized PHPUnit coverage-php output.


Methods

load

Loads the coverage summary from a PHPUnit coverage-php report file.

public load(string $coverageReportPath): \FastForward\DevTools\PhpUnit\Coverage\CoverageSummary

Parameters:

Parameter Type Description
$coverageReportPath string Path to the PHPUnit coverage-php report file

Return Value:

Extracted line coverage summary

Throws:

When the report file does not exist or contains invalid data


Clone this wiki locally