| Percentage | Lines | ||
|---|---|---|---|
| EnumCollection |
|
100 % | 20 |
| EnumWithId |
|
100 % | 37 |
| EnumWithCodeAndValue |
|
100 % | 56 |
| EnumWithIdAndName |
|
100 % | 29 |
| Enum |
|
100 % | 174 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Enum::bootIfNotBooted() | 2 | 7 | |
| Enum::get() | 2 | 6 | |
| EnumWithId::identifierAttribute() | 1 | 3 | |
| EnumCollection::hasIdentifier() | 1 | 4 | |
| EnumCollection::byIdentifier() | 1 | 4 | |
| EnumCollection::identifiers() | 1 | 4 | |
| EnumWithId::getId() | 1 | 3 | |
| EnumWithId::__construct() | 1 | 3 | |
| EnumWithCodeAndValue::getValue() | 1 | 3 | |
| EnumWithCodeAndValue::getCode() | 1 | 3 | |