Branch Coverage

blib/lib/Text/LookUpTable.pm
Criterion Covered Total %
branch 38 62 61.2


line true false branch
170 291 82 if ($part =~ /\w/)
180 29 82 if 0 == $num_parts
182 16 66 if (1 == $num_parts)
184 1 15 if (defined $x_title)
196 14 52 unless (defined $num_x_coords)
213 14 38 if ($num_x_coords + 2 == $num_parts)
215 1 13 if (defined $y_title)
228 49 2 if ($num_x_coords + 1 == $num_parts)
275 0 0 unless (-e $file)
308 0 2 unless (defined $x_size and $x_size > 0)
313 0 2 unless (defined $y_size and $y_size > 0)
318 0 2 unless (defined $x_title and $x_title ne '')
323 0 2 unless (defined $y_title and $y_title ne '')
405 24 96 $i == $c ? :
447 0 24 if ($len_t > $len)
482 0 0 if (not defined $file or $file =~ /^[\s]+$/)
490 0 0 unless ($res)
554 0 1 if ($num_x_coords != $num_new_x_coords)
571 0 1 if ($num_y_coords != $num_new_y_coords)
605 0 103 unless ($x < $num_x)
629 0 2 unless ($y < $num_x)
660 0 2 unless ($y < $num_y)
665 0 2 unless ($x < $num_x)
695 0 0 unless ($y < $num_y)
700 0 0 unless ($x < $num_x)
750 3 54 if ($ys1[$j] != $ys2[$j])
753 1 2 if $break
758 2 2 if (@diff_points) { }
804 0 2 if ($num_cs1 != $num_cs2)
811 2 5 if ($$cs1[$i] != $$cs2[$i])
861 0 0 if ($type eq 'R')