Percentage | Lines | ||
---|---|---|---|
WeatherController |
|
86 % | 206 |
IpAdress |
|
96 % | 48 |
Darksky |
|
100 % | 21 |
Curl |
|
100 % | 38 |
Ipstack |
|
100 % | 18 |
IpController |
|
100 % | 101 |
CRAP Score | Lines | ||
---|---|---|---|
WeatherController::checkIPJSONActionGet() | 29 | 64 | |
WeatherController::checkAdressActionPost() | 14 | 63 | |
Curl::multiCurl() | 5 | 34 | |
IpAdress::getUserIp() | 3 | 10 | |
IpAdress::validateIp() | 3 | 15 | |
WeatherController::validateIp() | 2 | 6 | |
Ipstack::getIpInfo() | 2 | 7 | |
WeatherController::pageActionGet() | 1 | 18 | |
WeatherController::indexAction() | 1 | 3 | |
WeatherController::initialize() | 1 | 4 | |