CoverageSummaryLoaderInterface

Interface

Loads PHPUnit `coverage-php` reports and exposes their line coverage summary.

Table of Contents

Methods

load()

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

 : CoverageSummary
Methods

load()

Public

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

Tags
throws
RuntimeException

Description

When the report file does not exist or contains invalid data

Return values

Description

Extracted coverage summary