| Percentage | Lines | ||
|---|---|---|---|
| BaseCollection |
|
100 % | 64 |
| Collection |
|
100 % | 178 |
| ImmutableCollection |
|
100 % | 25 |
| ArrayAccessTrait |
|
100 % | 52 |
| ClearableTrait |
|
100 % | 22 |
| CountableTrait |
|
100 % | 12 |
| IterableTrait |
|
100 % | 92 |
| SearchableTrait |
|
100 % | 46 |
| SeekableTrait |
|
100 % | 23 |
| ImmutableException |
|
100 % | 12 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Collection::each() | 3 | 10 | |
| SeekableTrait::seek() | 3 | 14 | |
| Collection::remove() | 2 | 10 | |
| ArrayAccessTrait::offsetGet() | 2 | 10 | |
| BaseCollection::__construct() | 1 | 4 | |
| BaseCollection::get() | 1 | 4 | |
| BaseCollection::getKeys() | 1 | 4 | |
| BaseCollection::getValues() | 1 | 4 | |
| BaseCollection::toArray() | 1 | 4 | |
| Collection::push() | 1 | 4 | |