Code

Rating Name Duplication Size Complexity CRAP Changes Bugs Features  
A DraftFour\UniqueItems::validate() 0 7 4 4 0 0 0
A JsonGuard\Validator::getSchemaPath() 0 2 1 1 0 0 0
B AdditionalProperties::validate() 8 19 6 6 0 0 0
D Constraint\DraftFour\Type::validate() 0 25 9 9 0 0 0
A JsonGuard\ValidationError::getData() 0 2 1 1 0 0 0
B Constraint\DraftFour\Maximum::validate() 15 8 6 6 0 0 0
A DraftFour\MultipleOf::__construct() 0 2 1 1 0 0 0
A JsonGuard\Validator::setMaxDepth() 0 3 1 1 0 0 0
B src/functions.php ➔ strlen() 0 8 5 14.11 0 0 0
B DraftFour\Format::validateFilter() 0 7 7 7 0 0 0
A functions.php ➔ delimit_pattern() 0 2 1 1 0 0 0
A JsonGuard\ValidationError::toArray() 0 10 1 1 0 0 0
A DraftFour\ExclusiveMaximum::validate() 15 8 4 4.03 0 0 0
A functions.php ➔ pointer_push() 0 6 2 2 0 0 0
A JsonGuard\Validator::mergeErrors() 0 5 3 3 0 0 0