| Percentage | Lines | ||
|---|---|---|---|
| JsonExporter |
|
100 % | 22 |
| PropertyTypeExtractor |
|
100 % | 26 |
| Resource |
|
100 % | 111 |
| AllowedRanges |
|
100 % | 20 |
| AllowedValues |
|
100 % | 18 |
| ValidatorContainer |
|
100 % | 13 |
| Rule |
|
100 % | 114 |
| ResourcesValidator |
|
100 % | 25 |
| MandatoryWithoutDefault |
|
100 % | 19 |
| AllowedProperties |
|
100 % | 50 |
| CRAP Score | Lines | ||
|---|---|---|---|
| MandatoryProperty::check() | 5 | 16 | |
| Ruler::ensureTypeIsValid() | 5 | 20 | |
| Container::ensureValidConstraints() | 4 | 10 | |
| Container::create() | 4 | 15 | |
| Container::fillInRewrites() | 4 | 10 | |
| MagicResource::__callStatic() | 4 | 15 | |
| MagicResource::properties() | 4 | 16 | |
| MagicResource::ensurePropertiesConsistency() | 4 | 12 | |
| AllowedRanges::check() | 4 | 17 | |
| AllowedValues::check() | 4 | 15 | |