Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | SpatialTrait::setRawAttributes() | 0 | 19 | 9 | 9.19 | 1 | 0 | 0 |
A | Eloquent\SpatialTrait::performInsert() | 0 | 8 | 5 | 5.2 | 1 | 0 | 0 |
A | SpatialTrait::scopeDistanceSphereValue() | 0 | 9 | 5 | 5 | 0 | 0 | 0 |
A | SpatialServiceProvider::register() | 0 | 18 | 4 | 4 | 2 | 0 | 0 |
A | LaravelSpatial\MysqlConnection::__construct() | 0 | 15 | 3 | 3 | 0 | 0 | 0 |
A | LaravelSpatial\Eloquent\Builder::update() | 0 | 12 | 4 | 4.77 | 1 | 0 | 0 |
A | LaravelSpatial\Eloquent\SpatialTrait::toWkt() | 0 | 10 | 3 | 3 | 0 | 0 | 0 |
A | Schema\Grammars\GrammarFactory::make() | 0 | 9 | 4 | 4 | 1 | 0 | 0 |
A | MySqlGrammar::compileDropSpatial() | 0 | 3 | 1 | 2 | 1 | 0 | 0 |
A | Grammars\PostgresGrammar::typePoint() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | SpatialTrait::scopeDistanceExcludingSelf() | 0 | 6 | 3 | 3 | 0 | 0 | 0 |
A | Eloquent\SpatialTrait::scopeDoesTouch() | 0 | 1 | 1 | 2 | 0 | 0 | 0 |
A | Schema\Blueprint::disablePostgis() | 0 | 1 | 1 | 1 | 0 | 0 | 0 |
A | Grammars\PostgresGrammar::typePolygon() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |
A | Doctrine\Point::getSQLDeclaration() | 0 | 1 | 1 | 1 | 1 | 0 | 0 |