Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
A ObjectValidator::populateObjectItems() 0 10 6 6 0 0 0
A ConfigValidation\ArrayValidator::populateItems() 0 10 6 6 0 0 0
A ObjectValidator::buildValidator() 0 17 5 5 0 0 0
A ArrayValidator::buildValidator() 0 17 5 5 0 0 0
A ValidatorBuilderTrait::hasMandatoryItem() 0 8 5 5 0 0 0
A AttributeSetTest::testShouldAssertGetAttributesInException() 0 18 2 ? 0 0 0
A AttributeSetTest::testShouldAssertGetRequiredMissingInException() 0 15 2 ? 0 0 0
A ValidatorBuilderTrait::addValidator() 0 10 3 3 0 0 0
A ObjectValidatorTest::testSimpleValidation() 0 10 1 ? 0 0 0
A ArrayValidatorTest::testChildBuilders() 0 9 1 ? 0 0 0
A ObjectValidatorTest::testChildBuilders() 0 9 1 ? 0 0 0
A ArrayValidatorTest::testDoNotAllowUnspecified() 0 5 1 ? 0 0 0
A ObjectValidatorTest::testDefaultValidator() 0 3 1 ? 0 0 0
A ConfigValidation\Rules\AttributeSet::assert() 0 2 1 1 0 0 0
A AttributeSetTest::testShouldCheckAttributesAndUseChildValidators() 0 5 1 ? 0 0 0