Code

Rating Name   Duplication Size Complexity CRAP Changes Bugs Features
B src/functions.php ➔ strlen() 0 8 5 14.11 0 0 0
A functions.php ➔ properties_matching_pattern() 0 4 2 2 0 0 0
A functions.php ➔ pointer_push() 0 6 2 2 0 0 0
A functions.php ➔ is_json_number() 0 2 2 2 0 0 0
B functions.php ➔ is_json_integer() 0 4 7 7 0 0 0
A src/functions.php ➔ error() 0 9 1 1 0 0 0
A functions.php ➔ delimit_pattern() 0 2 1 1 0 0 0
A src/functions.php ➔ as_string() 0 13 4 4.02 0 0 0
A JsonGuard\Validator::validateRule() 0 4 2 2 0 0 0
A League\JsonGuard\Validator::validate() 0 10 3 3 0 0 0
A JsonGuard\Validator::setMaxDepth() 0 3 1 1 0 0 0
A League\JsonGuard\Validator::passes() 0 2 1 1 0 0 0
A JsonGuard\Validator::mergeErrors() 0 5 3 3 0 0 0
A Validator::makeSubSchemaValidator() 0 7 3 3 0 0 0
A JsonGuard\Validator::getSchemaPath() 0 2 1 1 0 0 0