blib/lib/JSON/MergePatch.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 18 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
17 | 10 | 12 | 30 | defined $target and not $$opt{'repeat'} |
74 | 6 | 0 | 28 | exists $$decoded_target{$key} and exists $$decoded_source{$key} |
75 | 0 | 6 | 20 | defined $$decoded_target{$key} and defined $$decoded_source{$key} |
6 | 16 | 4 | defined $$decoded_target{$key} and defined $$decoded_source{$key} and $$decoded_target{$key} eq $$decoded_source{$key} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
75 | 26 | 0 | 2 | defined $$decoded_target{$key} || defined $$decoded_source{$key} |
2 | 0 | 26 | not defined $$decoded_target{$key} || defined $$decoded_source{$key} or defined $$decoded_target{$key} and defined $$decoded_source{$key} and $$decoded_target{$key} eq $$decoded_source{$key} |