Branch Coverage

blib/lib/Data/Difflet.pm
Criterion Covered Total %
branch 29 36 80.5


line true false branch
20 0 1 if ($ENV{'DD_COLOR'})
26 0 0 $fg ? :
0 0 $bg ? :
39 0 67 unless @_ == 1
60 4 7 if (ref $a eq 'HASH') { }
5 2 elsif (ref $a eq 'ARRAY') { }
61 3 1 if (ref $b eq 'HASH') { }
66 5 3 if (exists $$b{$key}) { }
67 1 4 if ($self->ddf($$b{$key}) eq $self->ddf($$a{$key})) { }
70 1 3 if (ref $$a{$key} or ref $$b{$key}) { }
85 5 3 if exists $$a{$key}
96 4 1 if (ref $b eq 'ARRAY') { }
104 8 6 if ($i < $alen and $i < $blen) { }
2 4 elsif ($i < $alen) { }
0 4 elsif ($i < $blen) { }
105 4 4 if (_f($$a[$i]) eq _f($$b[$i])) { }
108 2 2 if (ref $$a[$i] or ref $$b[$i]) { }
132 1 1 if ($self->ddf($a) eq $self->ddf($b)) { }