Percentage | Lines | ||
---|---|---|---|
GeoWeatherJsonController |
|
98 % | 102 |
IpValidate |
|
100 % | 45 |
Curl |
|
100 % | 59 |
Weather |
|
100 % | 63 |
GeoWeatherController |
|
100 % | 118 |
CRAP Score | Lines | ||
---|---|---|---|
GeoWeatherController::indexActionPost() | 10 | 55 | |
Curl::multiCurl() | 7 | 40 | |
GeoWeatherJsonController::getWeather() | 5 | 23 | |
Weather::getDarkSkyWeather() | 5 | 16 | |
Weather::getWeatherGeo() | 4 | 36 | |
IpValidate::validate() | 3 | 36 | |
Weather::setKeys() | 1 | 3 | |
GeoWeatherController::initialize() | 1 | 4 | |
GeoWeatherController::indexActionGet() | 1 | 20 | |
IpValidate::setKeys() | 1 | 3 | |