Percentage | Lines | ||
---|---|---|---|
Amount |
|
63 % | 75 |
Chaining |
|
90 % | 45 |
EuropeanCentralBank |
|
94 % | 73 |
Currency |
|
100 % | 23 |
Downloader |
|
100 % | 51 |
Exchanger |
|
100 % | 33 |
Factory |
|
100 % | 25 |
CRAP Score | Lines | ||
---|---|---|---|
Chaining::__call() | 2 | 8 | |
EuropeanCentralBank::getRelativeRate() | 2 | 10 | |
Amount::__construct() | 2 | 5 | |
Amount::format() | 2 | 4 | |
Amount::difference() | 2 | 7 | |
Downloader::getContents() | 2 | 9 | |
Exchanger::convert() | 2 | 10 | |
Factory::create() | 2 | 10 | |
EuropeanCentralBank::getNormalizedRates() | 2 | 12 | |
Amount::getCurrency() | 1 | 4 | |