Percentage | Lines | ||
---|---|---|---|
Currency |
|
74 % | 317 |
Money |
|
90 % | 584 |
CurrencyPair |
|
100 % | 110 |
Math |
|
100 % | 268 |
CRAP Score | Lines | ||
---|---|---|---|
Money::assertOperand() | 7 | 18 | |
Money::allocate() | 5 | 38 | |
Math::roundTied() | 5 | 24 | |
Math::bcround() | 4 | 29 | |
Currency::aggregateData() | 3 | 24 | |
Currency::fill() | 3 | 20 | |
Math::normalizeZero() | 3 | 10 | |
Money::assertOperandNotZero() | 3 | 7 | |
Money::assertValidOperandString() | 2 | 6 | |
Currency::getDecimalMark() | 2 | 4 | |