Percentage | Lines | ||
---|---|---|---|
WeatherJsonModel |
|
100 % | 78 |
WeatherController |
|
100 % | 67 |
WeatherJsonController |
|
100 % | 53 |
WeatherModel |
|
100 % | 192 |
CRAP Score | Lines | ||
---|---|---|---|
WeatherModel::startMultiCurl() | 6 | 12 | |
WeatherModel::multiCurl() | 5 | 32 | |
WeatherModel::getUrls() | 4 | 19 | |
WeatherJsonModel::getAllData() | 3 | 10 | |
WeatherModel::getData() | 3 | 20 | |
WeatherJsonModel::getPrevDays() | 2 | 11 | |
WeatherController::indexAction() | 2 | 21 | |
WeatherJsonModel::getCurrentOnly() | 1 | 8 | |
WeatherJsonModel::getAll() | 1 | 9 | |
WeatherController::locationActionPost() | 1 | 13 | |