PHP_CodeCoverage_Driver_PHPDBG
in package
implements
PHP_CodeCoverage_Driver
Driver for PHPDBG's code coverage functionality.
Tags
Interfaces, Classes and Traits
- PHP_CodeCoverage_Driver
- Interface for code coverage drivers.
Table of Contents
- __construct() : mixed
- Constructor.
- start() : mixed
- Start collection of code coverage information.
- stop() : array<string|int, mixed>
- Stop collection of code coverage information.
- detectExecutedLines() : array<string|int, mixed>
- Convert phpdbg based data into the format CodeCoverage expects
Methods
__construct()
Constructor.
public
__construct() : mixed
Return values
mixed —start()
Start collection of code coverage information.
public
start() : mixed
Return values
mixed —stop()
Stop collection of code coverage information.
public
stop() : array<string|int, mixed>
Return values
array<string|int, mixed> —detectExecutedLines()
Convert phpdbg based data into the format CodeCoverage expects
private
detectExecutedLines(array<string|int, mixed> $sourceLines, array<string|int, mixed> $dbgData) : array<string|int, mixed>
Parameters
- $sourceLines : array<string|int, mixed>
- $dbgData : array<string|int, mixed>