blib/lib/JSON/Transform.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 30 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
45 | 5 | 5 | 0 | $opFrom eq '<%' and ref $srcdata ne 'HASH' |
47 | 5 | 5 | 0 | $opFrom eq '<@' and ref $srcdata ne 'ARRAY' |
177 | 36 | 7 | 11 | $is_set and not length $pointer |
187 | 0 | 20 | 2 | @parts == 0 && $is_delete |
192 | 4 | 3 | 0 | @parts == 0 && $is_delete |
198 | 0 | 18 | 7 | defined $lastptr and $is_set |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
116 | 18 | 6 | 29 | $name eq 'jsonOtherNotDouble' or $name eq 'jsonOtherNotGrave' |
185 | 19 | 3 | 0 | exists $data->{$p} or $is_set |
191 | 7 | 0 | 0 | $p =~ /^\d+$/ or @$data > $p |
7 | 0 | 0 | ($p =~ /^\d+$/ or @$data > $p) or $is_set |