Percentage | Lines | ||
---|---|---|---|
JsonWeather |
|
67 % | 154 |
WeatherIpController |
|
82 % | 74 |
WeatherRequest |
|
87 % | 67 |
WeatherIp |
|
100 % | 9 |
CRAP Score | Lines | ||
---|---|---|---|
WeatherIpController::multiCurlJson() | 10 | 23 | |
WeatherRequest::multiRequest() | 9 | 42 | |
JsonWeather::multiCurlJson() | 7 | 27 | |
JsonWeather::weatherCheckActionGet() | 6 | 34 | |
JsonWeather::indexActionPost() | 2 | 34 | |
WeatherIp::validateIp() | 2 | 6 | |
JsonWeather::__construct() | 1 | 5 | |
JsonWeather::indexAction() | 1 | 21 | |
WeatherRequest::curlJson() | 1 | 10 | |
WeatherIpController::__construct() | 1 | 5 | |