Collector
class Collector
Collects code coverage data from a test process and merges it into a shared file.
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()
Writes collected coverage to file and resets the oplog. Only effective with the PHPDBG engine.
static void
save()
Merges the current coverage data into the shared coverage file using an exclusive lock.
Details
at line 29
static array
detectEngines()
No description
at line 39
static bool
isStarted()
No description
at line 49
static void
start(string $file, string $engine)
Starts gathering the information for code coverage.
at line 75
static void
flush()
Writes collected coverage to file and resets the oplog. Only effective with the PHPDBG engine.
at line 87
static void
save()
Merges the current coverage data into the shared coverage file using an exclusive lock.