Branch Coverage

blib/lib/Term/Choose/LineFold.pm
Criterion Covered Total %
branch 1 54 1.8


line true false branch
15 0 3 if ($ENV{'TC_AMBIGUOUS_WIDE'}) { }
36 0 0 if ($_[0] < $table->[0][0] or $_[0] > $table->[$max][1])
41 0 0 if ($_[0] > $table->[$mid][1]) { }
0 0 elsif ($_[0] < $table->[$mid][0]) { }
64 0 0 defined $cache->{$c} ? :
78 0 0 unless (defined $cache->{$c})
81 0 0 if (($total = $total + $cache->{$c}) > $avail_width)
82 0 0 if ($total - $cache->{$c} < $avail_width)
83 0 0 if $return_remainder
86 0 0 if $return_remainder
92 0 0 if $return_remainder
99 0 0 unless (length $str)
104 0 0 if (length $_) { }
108 0 0 if (length $_ > $max_tab_width)
117 0 0 if ($opt->{'color'})
119 0 0 if push @color, $1
121 0 0 if ($opt->{'binary_filter'} and substr($str, 0, 100) =~ /[\x00-\x08\x0B-\x0C\x0E-\x1F]/)
123 0 0 if ($opt->{'binary_filter'} == 2) { }
133 0 0 if (not $str =~ /\R/ and print_columns($opt->{'init_tab'} . $str) <= $avail_width and not @color)
145 0 0 if (print_columns($line . $words[$i]) <= $avail_width) { }
150 0 0 if ($i == 0) { }
165 0 0 if ($i == $#words)
169 0 0 if ($opt->{'join'}) { }
173 0 0 if (@lines) { }
181 0 0 if (@color)
184 0 0 unless (@color)
190 0 0 if ($opt->{'join'}) { }