Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
A | ImportPostcodesToDatabase::handle() | 0 | 22 | 4 | 4 | 0 | 0 | 0 |
A | Models\HasCoordinates::scopeNearest() | 0 | 16 | 1 | 1 | 1 | 0 | 0 |
A | UKTowns\Models\GeoTown::countyOptions() | 0 | 11 | 1 | 1 | 0 | 0 | 0 |
A | Models\GeoTownFactory::definition() | 0 | 11 | 1 | 2 | 1 | 0 | 0 |
A | Console\ImportTownsToDatabase::handle() | 0 | 11 | 3 | 3.04 | 0 | 0 | 0 |
A | UKTowns\Models\GeoTown::townOptions() | 0 | 11 | 1 | 1 | 0 | 0 | 0 |
A | UKTowns\Models\GeoTown::regionOptions() | 0 | 11 | 1 | 1 | 0 | 0 | 0 |
A | Models\GeoTown::countryOptions() | 0 | 10 | 1 | 1 | 0 | 0 | 0 |
A | UKTowns\Models\GeoTown::name() | 0 | 4 | 1 | 2 | 1 | 0 | 0 |
A | HasCoordinates::scopeNearestInKilometers() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Models\HasCoordinates::getLongitude() | 0 | 1 | 1 | 2 | 1 | 0 | 0 |
A | UKTowns\ServiceProvider::boot() | 0 | 7 | 2 | 2 | 1 | 0 | 0 |
A | HasCoordinates::getDistanceAttribute() | 0 | 3 | 2 | 6 | 1 | 0 | 0 |
A | UKTowns\ServiceProvider::register() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | UKTowns\Models\GeoTown::getTable() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |