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

No description

Return Value

array

at line 40
static bool isStarted()

No description

Return Value

bool

at line 50
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 72
static void flush()

Flushes all gathered information. Effective only with PHPDBG collector.

Return Value

void

at line 84
static void save()

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

Return Value

void

Exceptions

LogicException