Documentation

LinesOfCode
in package

Read onlyYes
FinalYes
Tags
immutable

Table of Contents

Properties

$commentLinesOfCode  : int
$linesOfCode  : int
$logicalLinesOfCode  : int
$nonCommentLinesOfCode  : int

Methods

__construct()  : mixed
commentLinesOfCode()  : int
linesOfCode()  : int
logicalLinesOfCode()  : int
nonCommentLinesOfCode()  : int
plus()  : self

Properties

$commentLinesOfCode

private int $commentLinesOfCode

non-negative-int

$linesOfCode

private int $linesOfCode

non-negative-int

$logicalLinesOfCode

private int $logicalLinesOfCode

non-negative-int

$nonCommentLinesOfCode

private int $nonCommentLinesOfCode

non-negative-int

Methods

__construct()

public __construct(int $linesOfCode, int $commentLinesOfCode, int $nonCommentLinesOfCode, int $logicalLinesOfCode) : mixed
Parameters
$linesOfCode : int
$commentLinesOfCode : int
$nonCommentLinesOfCode : int
$logicalLinesOfCode : int
Tags
throws
IllogicalValuesException
NegativeValueException

commentLinesOfCode()

public commentLinesOfCode() : int
Return values
int

linesOfCode()

public linesOfCode() : int
Return values
int

logicalLinesOfCode()

public logicalLinesOfCode() : int
Return values
int

nonCommentLinesOfCode()

public nonCommentLinesOfCode() : int
Return values
int

plus()

public plus(self $other) : self
Parameters
$other : self
Return values
self
On this page

Search results