Percentage | Lines | ||
---|---|---|---|
WeatherReport |
|
14 % | 212 |
IPController |
|
48 % | 140 |
JsonController |
|
83 % | 161 |
WeatherController |
|
84 % | 134 |
IPValidator |
|
88 % | 199 |
UserInfoService |
|
100 % | 15 |
ApiKeyService |
|
100 % | 34 |
CRAP Score | Lines | ||
---|---|---|---|
WeatherReport::getHistoricWeather() | 30 | 40 | |
IPValidator::locateIP() | 12 | 20 | |
IPValidator::locateIPJSON() | 6 | 43 | |
WeatherReport::fetchAllWeather() | 6 | 31 | |
IPValidator::validateIPJSON() | 4 | 29 | |
IPValidator::checkDomain() | 3 | 14 | |
JsonController::weatherActionPost() | 2 | 19 | |
WeatherController::mapActionPost() | 2 | 37 | |
WeatherController::initialize() | 2 | 7 | |
JsonController::initialize() | 2 | 8 | |