Documentation

PHP_CodeCoverage_Driver_Xdebug
in package
implements PHP_CodeCoverage_Driver

Driver for Xdebug's code coverage functionality.

Tags
since

Class available since Release 1.0.0

codeCoverageIgnore

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.
cleanup()  : array<string|int, mixed>
getNumberOfLinesInFile()  : int

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>

cleanup()

private cleanup(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
Tags
since

Method available since Release 2.0.0

Return values
array<string|int, mixed>

getNumberOfLinesInFile()

private getNumberOfLinesInFile(string $file) : int
Parameters
$file : string
Tags
since

Method available since Release 2.0.0

Return values
int

Search results