| Percentage | Lines | ||
|---|---|---|---|
| Collection |
|
100 % | 65 |
| Result |
|
100 % | 45 |
| RuleCollection |
|
100 % | 36 |
| Subject |
|
100 % | 53 |
| ResultCollection |
|
100 % | 30 |
| CRAP Score | Lines | ||
|---|---|---|---|
| RuleCollection::check() | 6 | 10 | |
| ResultCollection::merge() | 6 | 6 | |
| Collection::rewind() | 2 | 6 | |
| Collection::valid() | 2 | 6 | |
| Collection::next() | 1 | 4 | |
| Collection::current() | 1 | 4 | |
| Collection::key() | 1 | 4 | |
| Collection::count() | 1 | 4 | |
| Result::__construct() | 1 | 5 | |
| Result::getContext() | 1 | 4 | |