Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
C | Http\EnumRequest::transformEnums() | 0 | 27 | 12 | ? | 5 | 1 | 0 |
A | Commands\MakeEnum::getDocBlock() | 0 | 8 | 2 | 2 | 1 | 0 | 1 |
A | Laravel\Rules\EnumRule::passes() | 0 | 7 | 2 | ? | 0 | 0 | 0 |
A | EnumServiceProvider::bootValidationRules() | 0 | 3 | 1 | 2 | 1 | 0 | 0 |
A | Rules\EnumRule::getOtherValues() | 0 | 1 | 1 | ? | 0 | 0 | 0 |
A | FakerEnumProvider::randomEnumValue() | 0 | 6 | 2 | ? | 1 | 0 | 1 |
A | Casts\EnumCollectionCast::asEnums() | 0 | 1 | 1 | ? | 0 | 0 | 0 |
A | Laravel\Commands\MakeEnum::getStub() | 0 | 1 | 1 | 1 | 1 | 0 | 1 |
A | Middleware\TransformEnums::__construct() | 0 | 1 | 1 | ? | 1 | 0 | 1 |
A | EnumServiceProvider::registerRequestTransformMacro() | 0 | 1 | 1 | 2 | 1 | 0 | 1 |
A | Laravel\Rules\EnumRule::asEnum() | 0 | 3 | 1 | ? | 0 | 0 | 0 |
A | Exceptions\NotNullableEnumField::make() | 0 | 1 | 1 | ? | 1 | 0 | 1 |
A | FakerEnumProvider::randomEnumLabel() | 0 | 6 | 2 | ? | 1 | 0 | 1 |
A | Laravel\Casts\EnumCollectionCast::set() | 0 | 3 | 2 | ? | 0 | 0 | 0 |
A | Laravel\Commands\MakeEnum::getOptions() | 0 | 2 | 1 | 1 | 2 | 0 | 1 |