LCOV Reports for PHP

LineData
in package
implements Stringable

Provides details for line coverage.

Interfaces, Classes, Traits and Enums

Stringable

Table of Contents

$checksum  : string
$executionCount  : int
$lineNumber  : int
__construct()  : mixed
Creates a new line data.
__toString()  : string
Returns a string representation of this object.
fromJson()  : self
Creates a new line data from the specified JSON object.

Properties

$executionCount

public int $executionCount = 0

Methods

__construct()

Creates a new line data.

public __construct(int $lineNumber, int $executionCount[, string $checksum = "" ]) : mixed
Parameters
$lineNumber : int

The line number.

$executionCount : int

The execution count.

$checksum : string = ""

The data checksum.

Return values
mixed —

__toString()

Returns a string representation of this object.

public __toString() : string
Return values
string —

The string representation of this object.

fromJson()

Creates a new line data from the specified JSON object.

public static fromJson(object $json) : self
Parameters
$json : object

A JSON object representing a line data.

Return values
self —

The instance corresponding to the specified JSON object.

Search results