| Percentage | Lines | ||
|---|---|---|---|
| RecursiveIterator |
|
79 % | 56 |
| Acl |
|
98 % | 403 |
| Rule |
|
98 % | 339 |
| ResourceAggregate |
|
100 % | 73 |
| RoleAggregate |
|
100 % | 72 |
| ObjectAggregate |
|
100 % | 99 |
| RuleResult |
|
100 % | 108 |
| RuleResultCollection |
|
100 % | 62 |
| RuleWide |
|
100 % | 14 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Rule::isAllowed() | 19 | 90 | |
| Acl::removeRule() | 17 | 59 | |
| Acl::addRule() | 17 | 72 | |
| Acl::isAllowedReturnResultSimple() | 12 | 49 | |
| Acl::isAllowedReturnResult() | 8 | 38 | |
| Rule::getAction() | 5 | 24 | |
| Acl::getNames() | 5 | 16 | |
| Acl::setRuleClass() | 4 | 16 | |
| Acl::hasRule() | 4 | 16 | |
| ObjectAggregate::removeObject() | 4 | 16 | |