| Percentage | Lines | ||
|---|---|---|---|
| Accountant |
|
100 % | 103 |
| Money |
|
100 % | 65 |
| Accountant |
|
100 % | 79 |
| Currency |
|
100 % | 37 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Accountant::sum() | 4 | 21 | |
| Accountant::checkCurrenciesMatch() | 2 | 12 | |
| Money::getFormattedAmount() | 2 | 14 | |
| Currency::__construct() | 2 | 9 | |
| Currency::getFractionDigits() | 2 | 4 | |
| Money::__toString() | 1 | 8 | |
| Money::getAmount() | 1 | 4 | |
| Money::getCurrency() | 1 | 4 | |
| Accountant::getFunctions() | 1 | 10 | |
| Accountant::getName() | 1 | 4 | |