| Percentage | Lines | ||
|---|---|---|---|
| ValidateIp |
|
100 % | 52 |
| GeoLocationController |
|
100 % | 71 |
| ValidateIpController |
|
100 % | 47 |
| WeatherApiController |
|
100 % | 145 |
| GeoApiController |
|
100 % | 93 |
| IpJsonController |
|
100 % | 66 |
| WeatherController |
|
100 % | 87 |
| GeoLocation |
|
100 % | 59 |
| ApiController |
|
100 % | 17 |
| Weather |
|
100 % | 135 |
| CRAP Score | Lines | ||
|---|---|---|---|
| WeatherApiController::indexActionPost() | 11 | 95 | |
| WeatherController::indexActionGet() | 8 | 55 | |
| Weather::getData() | 8 | 39 | |
| ValidateIpController::indexAction() | 6 | 37 | |
| IpJsonController::indexActionPost() | 6 | 41 | |
| Curl::multiCurlApi() | 6 | 41 | |
| GeoApiController::indexActionPost() | 5 | 46 | |
| Weather::getLatLong() | 5 | 19 | |
| GeoLocation::getUserIp() | 4 | 14 | |
| Weather::getHistory() | 4 | 17 | |