Percentage | Lines | ||
---|---|---|---|
SkipOnErrorTrait |
|
0 % | 26 |
UnexpectedRuleException |
|
0 % | 28 |
RuleHandlerInterfaceNotImplementedException |
|
0 % | 28 |
CompositeHandler |
|
0 % | 9 |
StopOnErrorHandler |
|
0 % | 16 |
AttributesRulesProvider |
|
0 % | 44 |
Compare |
|
0 % | 3 |
ObjectDataSet |
|
0 % | 161 |
CallbackHandler |
|
100 % | 22 |
RegexHandler |
|
100 % | 27 |
CRAP Score | Lines | ||
---|---|---|---|
Validator::shouldSkipRule() | 72 | 23 | |
Nested::handleEachShortcut() | 72 | 57 | |
Validator::validateInternal() | 56 | 29 | |
RulesNormalizer::prepareRulesIterable() | 56 | 23 | |
Nested::afterInitAttribute() | 56 | 16 | |
Ip::prepareRanges() | 42 | 17 | |
Nested::flattenKeys() | 42 | 19 | |
ObjectParser::getReflectionProperties() | 42 | 25 | |
ObjectParser::getRules() | 30 | 31 | |
SkipOnEmptyNormalizer::normalize() | 30 | 15 | |