abstract class AbstractGenerator

Code coverage report generator.

Constants

protected LineDead

protected LineTested

protected LineUntested

Properties

$acceptFiles
protected $data
protected $sources
protected $totalSum
protected $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 36
__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 64
void render(string|null $file = null)

No description

Parameters

string|null $file

Return Value

void

at line 90
float getCoveredPercent()

No description

Return Value

float

at line 96
protected Iterator getSourceIterator()

No description

Return Value

Iterator

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

deprecated

No description

Parameters

array $files

Return Value

string

at line 122
abstract protected void renderSelf()

No description

Return Value

void