| Percentage | Lines | ||
|---|---|---|---|
| CurlModel |
|
36 % | 141 |
| IpGeo |
|
98 % | 120 |
| IpVerify |
|
100 % | 48 |
| IpGeoController |
|
100 % | 77 |
| IpVerifyController |
|
100 % | 78 |
| IpVerifyJsonController |
|
100 % | 57 |
| IpGeoJsonController |
|
100 % | 59 |
| WeatherController |
|
100 % | 142 |
| WeatherJsonController |
|
100 % | 95 |
| Weather |
|
100 % | 139 |
| CRAP Score | Lines | ||
|---|---|---|---|
| CurlModel::fetchMultiData() | 42 | 35 | |
| CurlModel::getData() | 14 | 27 | |
| CurlModel::getMultiData() | 9 | 31 | |
| WeatherController::indexAction() | 9 | 68 | |
| WeatherJsonController::indexAction() | 9 | 59 | |
| CurlModel::singleFetch() | 6 | 12 | |
| IpGeo::getLocation() | 4 | 28 | |
| Weather::getWeather() | 4 | 11 | |
| IpGeoJsonController::indexActionGet() | 4 | 23 | |
| IpGeoController::indexAction() | 4 | 27 | |