class Collector

Code coverage collector.

Constants

EnginePcov

EnginePhpdbg

EngineXdebug

Methods

static array
detectEngines()

No description

static bool
isStarted()

No description

static void
start(string $file, string $engine)

Starts gathering the information for code coverage.

static void
flush()

Flushes all gathered information. Effective only with PHPDBG collector.

static void
save()

Saves information about code coverage. Can be called repeatedly to free memory.

Details

at line 29
static array detectEngines()

No description

Return Value

array

at line 39
static bool isStarted()

No description

Return Value

bool

at line 49
static void start(string $file, string $engine)

Starts gathering the information for code coverage.

Parameters

string $file
string $engine

Return Value

void

Exceptions

LogicException

at line 75
static void flush()

Flushes all gathered information. Effective only with PHPDBG collector.

Return Value

void

at line 87
static void save()

Saves information about code coverage. Can be called repeatedly to free memory.

Return Value

void

Exceptions

LogicException