class Collector

Code coverage collector.

Constants

ENGINE_PCOV

ENGINE_PHPDBG

ENGINE_XDEBUG

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 31
static array detectEngines()

No description

Return Value

array

at line 41
static bool isStarted()

No description

Return Value

bool

at line 51
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 77
static void flush()

Flushes all gathered information. Effective only with PHPDBG collector.

Return Value

void

at line 89
static void save()

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

Return Value

void

Exceptions

LogicException