Percentage | Lines | ||
---|---|---|---|
WeatherController |
|
100 % | 46 |
IpVerifier |
|
100 % | 41 |
IpVerifierController |
|
100 % | 31 |
GeocoderMock |
|
100 % | 25 |
IpVerifierAPIController |
|
100 % | 9 |
IpVerifierMock |
|
100 % | 30 |
DarkSky |
|
100 % | 67 |
DarkSkyMock |
|
100 % | 448 |
Coordinates |
|
100 % | 36 |
APIMockController |
|
100 % | 30 |
CRAP Score | Lines | ||
---|---|---|---|
WeatherAPIController::indexAction() | 8 | 34 | |
WeatherController::indexAction() | 7 | 37 | |
IpVerifierMock::getJson() | 5 | 19 | |
Curl::multi() | 5 | 35 | |
Coordinates::getCoordinates() | 3 | 12 | |
DarkSky::getWeatherPast() | 3 | 16 | |
APIMockController::darkSkyMockAction() | 3 | 8 | |
IpVerifier::getJson() | 2 | 8 | |
IpVerifierController::indexAction() | 2 | 22 | |
GeocoderMock::geocode() | 2 | 13 | |