| Percentage | Lines | ||
|---|---|---|---|
| Weather |
|
59 % | 156 |
| WeatherAPIController |
|
74 % | 37 |
| IpValidator |
|
75 % | 75 |
| IpValidatorAPIController |
|
82 % | 31 |
| WeatherController |
|
89 % | 118 |
| IpValidatorController |
|
90 % | 208 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Weather::mcurl() | 30 | 37 | |
| IpValidatorController::formAction() | 4 | 23 | |
| IpValidatorController::jsonActionGet() | 4 | 25 | |
| IpValidator::getGeo() | 4 | 15 | |
| Weather::getCurrent() | 4 | 19 | |
| Weather::getForecast() | 4 | 39 | |
| IpValidator::getDomain() | 4 | 8 | |
| Weather::getHistory() | 3 | 15 | |
| WeatherAPIController::indexActionPost() | 2 | 24 | |
| WeatherController::verifyAction() | 2 | 28 | |