abstract class AbstractGenerator

Code coverage report generator.

Constants

protected CODE_DEAD

protected CODE_UNTESTED

protected CODE_TESTED

Properties

array $acceptFiles
protected array $data
protected array $sources
protected int $totalSum
protected int $coveredSum

Methods

__construct(string $file, array $sources = [])

No description

void
render(string|null $file = null)

No description

float
getCoveredPercent()

No description

getSourceIterator()

No description

static string
getCommonFilesPath(array $files) deprecated

No description

void
renderSelf()

No description

Details

at line 45
__construct(string $file, array $sources = [])

No description

Parameters

string $file

path to coverage.dat file

array $sources

paths to covered source files or directories

at line 75
void render(string|null $file = null)

No description

Parameters

string|null $file

Return Value

void

at line 101
float getCoveredPercent()

No description

Return Value

float

at line 107
protected Iterator getSourceIterator()

No description

Return Value

Iterator

at line 126
static protected string getCommonFilesPath(array $files) deprecated

deprecated

No description

Parameters

array $files

Return Value

string

at line 132
abstract protected void renderSelf()

No description

Return Value

void