There was an error while loading. Please reload this page.
Represents the line coverage summary extracted from a PHPUnit coverage-php report.
coverage-php
\FastForward\DevTools\PhpUnit\Coverage\CoverageSummary
Initializes a new instance of the CoverageSummary class.
public __construct(int $executedLines, int $executableLines): mixed
Parameters:
$executedLines
$executableLines
Returns the number of executable lines that were executed.
public executedLines(): int
Returns the total number of executable lines.
public executableLines(): int
Returns the executed line coverage as a percentage.
public percentage(): float
Returns the executed line coverage as a formatted percentage string.
public percentageAsString(): string