| line |
true |
false |
branch |
|
25
|
0 |
3 |
unless (eval {
do {
require Term::Choose::LineFold::XS;
"Term::Choose::LineFold::XS"->VERSION("0.001");
$module = "Term::Choose::LineFold::XS";
1
}
}) |
|
54
|
0 |
0 |
unless (length $str) |
|
59
|
0 |
0 |
if (not defined $opt->{'width'}) { } |
|
|
0 |
0 |
elsif (not $opt->{'width'} =~ /^[1-9][0-9]*\z/) { } |
|
68
|
0 |
0 |
if (length $_) { } |
|
69
|
0 |
0 |
if (/^[0-9]+\z/) { } |
|
77
|
0 |
0 |
if (length $_ > $max_tab_width) |
|
86
|
0 |
0 |
if ($opt->{'color'}) |
|
88
|
0 |
0 |
if push @color, $1 |
|
90
|
0 |
0 |
if ($opt->{'binary_filter'} and substr($str, 0, 100) =~ /[\x00-\x08\x0B-\x0C\x0E-\x1F]/) |
|
92
|
0 |
0 |
if ($opt->{'binary_filter'} == 2) { } |
|
111
|
0 |
0 |
if (print_columns($line . $words[$i]) <= $opt->{'width'}) { } |
|
116
|
0 |
0 |
if ($i == 0) { } |
|
131
|
0 |
0 |
if ($i == $#words) |
|
135
|
0 |
0 |
if ($opt->{'join'}) { } |
|
139
|
0 |
0 |
if (@lines) { } |
|
147
|
0 |
0 |
if (@color) |
|
150
|
0 |
0 |
unless ($opt->{'join'}) |
|
151
|
0 |
0 |
if ($last_color) |
|
155
|
0 |
0 |
if ($count) |
|
160
|
0 |
0 |
unless (@color) |
|
166
|
0 |
0 |
if ($opt->{'join'}) { } |