Branch Coverage

blib/lib/JSON/Schema/Shorthand.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
19 10 12 unless (ref $object)
20 1 9 '#' eq substr($object, 0, 1) ? :
23 2 20 if (my $array = delete $object->{'array'})
26 1 1 ref $array eq 'ARRAY' ? :
31 2 20 if (my $props = delete $object->{'object'})
38 40 4 unless $object->{$keyword}
44 63 3 unless $object->{$keyword}
52 21 1 unless $object->{$keyword}
57 3 19 if ($object->{'properties'})
63 1 2 if @required