Percentage | Lines | ||
---|---|---|---|
IPGeotag |
|
91 % | 99 |
WeatherAPIController |
|
98 % | 117 |
WeatherController |
|
98 % | 114 |
RealIP |
|
100 % | 17 |
IPCheck |
|
100 % | 167 |
ValidAPIWeather |
|
100 % | 49 |
IPController |
|
100 % | 80 |
IP |
|
100 % | 70 |
Curl |
|
100 % | 17 |
OpenWeather |
|
100 % | 118 |
CRAP Score | Lines | ||
---|---|---|---|
WeatherAPIController::makeJSON() | 10 | 24 | |
ValidWeather::errormsg() | 7 | 12 | |
IPGeotag::checkinputip() | 6 | 13 | |
WeatherController::indexActionPost() | 6 | 24 | |
OpenWeather::mymulticurl() | 6 | 24 | |
IPCheck::setDomainName() | 5 | 9 | |
ValidWeather::validcoord() | 5 | 8 | |
RealIP::getRealIpAddr() | 4 | 15 | |
ValidWeather::missingcoord() | 4 | 8 | |
ValidAPIWeather::errormsg() | 4 | 10 | |