Branch Coverage

blib/lib/Algorithm/Diff/Callback.pm
Criterion Covered Total %
branch 19 28 67.8


line true false branch
17 0 4 unless ref $old eq 'HASH'
18 0 4 unless ref $new eq 'HASH'
22 5 7 if (not exists $old->{$key}) { }
24 5 0 if exists $cbs{'added'}
31 1 7 unless (exists $new->{$key})
33 1 0 if exists $cbs{'deleted'}
41 1 6 if ($before ne $after)
43 1 0 if exists $cbs{'changed'}
53 0 5 unless ref $old eq 'ARRAY'
54 0 5 unless ref $new eq 'ARRAY'
66 6 2 if ($change eq '+') { }
1 1 elsif ($change eq '-') { }
67 6 0 if exists $cbs{'added'}
69 1 0 if exists $cbs{'deleted'}