Percentage | Lines | ||
---|---|---|---|
WeatherController |
|
79 % | 58 |
JsonApiController |
|
100 % | 14 |
Weatherhelper |
|
100 % | 67 |
CRAP Score | Lines | |
---|---|---|
Weatherhelper::getUsersThroughMultiCurl() | 5 | 41 |
WeatherController::indexAction() | 2 | 22 |
JsonApiController::indexAction() | 1 | 10 |
WeatherController::initialize() | 1 | 3 |
WeatherController::getQuery() | 1 | 6 |
WeatherController::getInfo() | 1 | 12 |
Weatherhelper::getLocation() | 1 | 13 |
Weatherhelper::setKey() | 1 | 3 |