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 $file = null)

No description

float
getCoveredPercent()

No description

getSourceIterator()

No description

static string
getCommonFilesPath(array $files)

No description

void
renderSelf()

No description

Details

at line 43
__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 73
void render(string $file = null)

No description

Parameters

string $file

Return Value

void

at line 97
float getCoveredPercent()

No description

Return Value

float

at line 103
protected Iterator getSourceIterator()

No description

Return Value

Iterator

at line 121
static protected string getCommonFilesPath(array $files)

No description

Parameters

array $files

Return Value

string

at line 137
abstract protected void renderSelf()

No description

Return Value

void