Percentage | Lines | ||
---|---|---|---|
Weather |
|
100 % | 138 |
Flash |
|
100 % | 88 |
APIController |
|
100 % | 25 |
IP |
|
100 % | 108 |
Controller |
|
100 % | 77 |
Fetch |
|
100 % | 84 |
APIController |
|
100 % | 21 |
Controller |
|
100 % | 147 |
DITestCase |
|
100 % | 47 |
MockFetch |
|
100 % | 53 |
CRAP Score | Lines | ||
---|---|---|---|
IP::validate() | 7 | 43 | |
Fetch::initRequest() | 5 | 15 | |
Controller::indexActionGet() | 5 | 25 | |
Weather::forecast() | 4 | 45 | |
Fetch::getMulti() | 4 | 30 | |
IP::locate() | 3 | 13 | |
MockFetch::addResponse() | 3 | 6 | |
Weather::fetchForecast() | 2 | 21 | |
Weather::formatTemp() | 2 | 6 | |
APIController::indexActionPost() | 2 | 15 | |