blib/lib/JSON/Transform.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 30 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
64 | 5 | 6 | 0 | $opFrom eq '<%' and ref $srcdata ne 'HASH' |
66 | 6 | 5 | 0 | $opFrom eq '<@' and ref $srcdata ne 'ARRAY' |
225 | 46 | 7 | 16 | $is_set and not length $pointer |
235 | 0 | 30 | 2 | @parts == 0 && $is_delete |
240 | 4 | 3 | 0 | @parts == 0 && $is_delete |
246 | 0 | 28 | 7 | defined $lastptr and $is_set |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
135 | 23 | 15 | 71 | $name eq 'jsonOtherNotDouble' or $name eq 'jsonOtherNotGrave' |
233 | 29 | 3 | 0 | exists $data->{$p} or $is_set |
239 | 7 | 0 | 0 | $p =~ /^\d+$/ or @$data > $p |
7 | 0 | 0 | ($p =~ /^\d+$/ or @$data > $p) or $is_set |