Percentage | Lines | ||
---|---|---|---|
GeoModelTrait |
|
99 % | 233 |
WeatherModelTrait |
|
99 % | 410 |
IpModelTrait |
|
100 % | 94 |
WeatherController |
|
100 % | 113 |
CallUrlModel |
|
100 % | 36 |
JsonIpController |
|
100 % | 119 |
IpController |
|
100 % | 106 |
CallUrl |
|
100 % | 108 |
CRAP Score | Lines | ||
---|---|---|---|
GeoModelTrait::fetchGeoInfo() | 9 | 43 | |
WeatherModelTrait::fetchWeatherInfo() | 8 | 42 | |
GeoModelTrait::validateCoord() | 7 | 12 | |
CallUrl::fetchConcurrently() | 6 | 47 | |
IpModelTrait::validateIp() | 5 | 16 | |
WeatherModelTrait::getPosition() | 5 | 13 | |
WeatherModelTrait::hourly() | 5 | 32 | |
WeatherModelTrait::daily() | 4 | 27 | |
WeatherModelTrait::pastDays() | 4 | 29 | |
IpModelTrait::pushInfo() | 3 | 9 | |