Percentage | Lines | ||
---|---|---|---|
GeoMock |
|
0 % | 18 |
DarkSkyMock |
|
0 % | 516 |
WeatherModel |
|
91 % | 194 |
Forecast |
|
100 % | 81 |
WeatherApiController |
|
100 % | 62 |
Geo |
|
100 % | 22 |
WeatherController |
|
100 % | 91 |
Curl |
|
100 % | 61 |
CRAP Score | Lines | ||
---|---|---|---|
Curl::curlMulti() | 4 | 36 | |
WeatherModel::getPast() | 3 | 27 | |
WeatherModel::getWeek() | 3 | 26 | |
WeatherController::indexActionPost() | 3 | 23 | |
WeatherModel::getAll() | 3 | 18 | |
WeatherModel::getApiUrls() | 3 | 15 | |
WeatherModel::getGeo() | 2 | 16 | |
WeatherApiController::jsonActionGet() | 2 | 19 | |
WeatherController::indexActionGet() | 2 | 18 | |
GeoMock::getGeo() | 2 | 12 | |