Percentage | Lines | ||
---|---|---|---|
IpToJSONController |
|
0 % | 24 |
WeatherToJSONController |
|
0 % | 44 |
GeoApi |
|
0 % | 35 |
WeatherController |
|
22 % | 65 |
IpController |
|
39 % | 48 |
WeatherApi |
|
49 % | 157 |
CurrentIp |
|
71 % | 17 |
IpValidator |
|
100 % | 25 |
CRAP Score | Lines | ||
---|---|---|---|
WeatherToJSONController::searchAction() | 56 | 36 | |
WeatherController::searchAction() | 56 | 40 | |
WeatherApi::pastWeather() | 42 | 40 | |
WeatherApi::comingWeather() | 12 | 26 | |
WeatherApi::validCoordinates() | 5 | 7 | |
CurrentIp::findIp() | 3 | 12 | |
WeatherApi::getLocation() | 3 | 25 | |
IpValidator::validateIp() | 3 | 19 | |
IpToJSONController::validateIpApiAction() | 2 | 16 | |
IpController::validateIpAction() | 2 | 22 | |