| Percentage | Lines | ||
|---|---|---|---|
| Weather |
|
14 % | 114 |
| weatherController |
|
74 % | 75 |
| weatherApiController |
|
91 % | 43 |
| ipController |
|
94 % | 36 |
| IpValidation |
|
94 % | 40 |
| MakeJsonController |
|
100 % | 15 |
| CRAP Score | Lines | |
|---|---|---|
| Weather::getWeatherMultiCurl() | 90 | 43 |
| Weather::getWeather() | 42 | 33 |
| weatherController::indexActionPost() | 5 | 44 |
| weatherApiController::indexAction() | 4 | 34 |
| IpValidation::toJson() | 4 | 33 |
| Weather::getLocationData() | 2 | 14 |
| ipController::indexAction() | 2 | 23 |
| weatherController::indexActionGet() | 1 | 17 |
| MakeJsonController::indexAction() | 1 | 6 |
| Weather::setApiKeys() | 1 | 4 |