| Percentage | Lines | ||
|---|---|---|---|
| FormValidationError |
|
0 % | 40 |
| FormInvalidConfigError |
|
0 % | 23 |
| Form |
|
0 % | 131 |
| CompositeCheckError |
|
38 % | 48 |
| MixedRule |
|
98 % | 203 |
| ContainerCheckFactory |
|
99 % | 234 |
| ValidationSuccessResult |
|
100 % | 18 |
| BaseRule |
|
100 % | 9 |
| RetrospectiveCheck |
|
100 % | 9 |
| CheckWrapper |
|
100 % | 43 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Form::registerRules() | 90 | 37 | |
| Form::validate() | 20 | 12 | |
| CompositeCheckError::equalTo() | 12 | 5 | |
| Form::setAttributes() | 12 | 5 | |
| MixedRule::execute() | 9 | 36 | |
| Check::__invoke() | 8 | 29 | |
| ContainerAccessHelper::hasAccessibleAttribute() | 6 | 18 | |
| FormValidationError::getViolatedRestrictions() | 6 | 7 | |
| Form::registerAttributes() | 6 | 6 | |
| Form::getAttributes() | 6 | 7 | |