blib/lib/Algorithm/Diff/Callback.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 19 | 28 | 67.8 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 4 | unless ref $old eq 'HASH' |
21 | 0 | 4 | unless ref $new eq 'HASH' |
25 | 5 | 7 | if (not exists $$old{$key}) { } |
26 | 5 | 0 | if exists $cbs{'added'} |
34 | 1 | 7 | unless (exists $$new{$key}) |
35 | 1 | 0 | if exists $cbs{'deleted'} |
44 | 1 | 6 | if ($before ne $after) |
45 | 1 | 0 | if exists $cbs{'changed'} |
54 | 0 | 5 | unless ref $old eq 'ARRAY' |
55 | 0 | 5 | unless ref $new eq 'ARRAY' |
67 | 6 | 2 | if ($change eq '+') { } |
1 | 1 | elsif ($change eq '-') { } | |
68 | 6 | 0 | if exists $cbs{'added'} |
70 | 1 | 0 | if exists $cbs{'deleted'} |