Percentage | Lines | ||
---|---|---|---|
Distribution |
|
0 % | 21 |
ComplexNumbers |
|
0 % | 38 |
Poisson |
|
7 % | 305 |
Exponential |
|
9 % | 194 |
Normal |
|
21 % | 394 |
CylindricalCoordinate |
|
37 % | 67 |
ComplexNumber |
|
44 % | 292 |
CalculationModeProvider |
|
50 % | 22 |
SphericalCoordinate |
|
55 % | 75 |
ShapeTrait |
|
68 % | 92 |
CRAP Score | Lines | ||
---|---|---|---|
ComplexNumbers::make() | 90 | 25 | |
ComplexNumber::isEqual() | 83 | 35 | |
ComplexNumber::makeFromArray() | 72 | 28 | |
Normal::rangeRandom() | 42 | 18 | |
Poisson::rangeRandom() | 42 | 16 | |
Poisson::rangePmf() | 42 | 33 | |
Exponential::rangeRandom() | 42 | 18 | |
SequenceProvider::nthLucasNumber() | 20 | 19 | |
Poisson::methodPARandom() | 20 | 52 | |
RandomProvider::randomInt() | 18 | 135 | |