blib/lib/JSONSchema/Validator/Constraints/Draft6.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 18 | 44.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
17 | 0 | 1 | 10 | is_type($_[1], 'number', $_[3] // $_[0]->strict) && int $_[1] == $_[1] |
103 | 0 | 0 | 4 | defined $const and defined $instance |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
19 | 788 | 420 | 0 | $_[3] // $_[0]->strict |
103 | 0 | 2 | 8 | $self->check_type($const, "object", 1) or $self->check_type($const, "array", 1) |
0 | 0 | 0 | defined $const || defined $instance | |
108 | 0 | 2 | 0 | $self->check_type($instance, 'object') || $self->check_type($instance, 'array') |