Table of Contents
-
$threshold
: int
-
__construct()
: mixed
-
process()
: string
-
crapLoad()
: float
-
roundValue()
: float
$threshold
private
int
$threshold
__construct()
public
__construct([int $threshold = 30 ]) : mixed
Parameters
-
$threshold
: int
= 30
-
Return values
mixed
—
process()
public
process(CodeCoverage $coverage[, string|null $target = null ][, string|null $name = null ]) : string
Parameters
-
$coverage
: CodeCoverage
-
-
$target
: string|null
= null
-
-
$name
: string|null
= null
-
-
throws
-
WriteOperationFailedException
Return values
string
—
crapLoad()
private
crapLoad(float $crapValue, int $cyclomaticComplexity, float $coveragePercent) : float
Parameters
-
$crapValue
: float
-
-
$cyclomaticComplexity
: int
-
-
$coveragePercent
: float
-
Return values
float
—
roundValue()
private
roundValue(float $value) : float
Parameters
-
$value
: float
-
Return values
float
—