Branch Coverage

blib/lib/Algorithm/Diff/HTMLTable.pm
Criterion Covered Total %
branch 36 40 90.0


line true false branch
24 3 9 if @_ != 2
33 1 15 if ref $files{$name} and ref $files{$name} ne 'ARRAY'
34 4 11 if ref $files{$name}
36 1 10 unless -f $files{$name}
37 0 10 unless -r $files{$name}
54 3 4 defined $self->{'id'} ? :
84 27 28 if (my $count = $diff->Same) { }
5 23 elsif (not $diff->Items(2)) { }
10 13 elsif (not $diff->Items(1)) { }
100 5 0 @items_1 > @items_2 ? :
117 0 10 @items_1 > @items_2 ? :
134 0 13 @items_1 > @items_2 ? :
160 31 52 $color_a ? :
161 37 46 $color_b ? :
191 2 12 if ($$self{"title_$index"})
195 2 10 unless -f $file
213 1 19 unless $file
215 6 13 if (ref $file and ref $file eq 'ARRAY')
219 2 11 unless -r $file
223 2 9 if ($self->{'encoding'})