Branch Coverage

lib/Array/Columnize/columnize.pm
Criterion Covered Total %
branch 55 60 91.6


line true false branch
33 1 670 if $term_adjust
67 1 12 if 0 == scalar @l
68 2 10 unless $opts
70 1 11 if ($$opts{'arrange_array'})
77 1 11 if (1 == scalar @l)
83 0 11 if $$opts{'colfmt'}
86 0 11 if 1 == scalar @l
93 0 11 if ($opts{'displaywidth'} - length($opts{'lineprefix'}) < 4) { }
98 6 5 if ($opts{'arrange_vertical'}) { }
115 1 243 if $i >= scalar @l
117 86 157 if $try_width > $colwidth
121 9 74 if ($totwidth > $opts{'displaywidth'})
126 3 9 if $totwidth <= $opts{'displaywidth'}
128 1 5 if $ncols < 1
129 3 3 if $ncols == 1
140 5 69 if ($i >= scalar @l) { }
148 15 0 if (scalar @texts > 0)
150 65 4 unless ($ncols == 1 and $opts{'ljust'})
151 8 57 $opts{'ljust'} ? :
183 295 426 if $i >= scalar @l
186 43 383 if $try_size > $colwidth
190 21 279 if $totwidth > $opts{'displaywidth'}
192 4 21 if ($totwidth <= $opts{'displaywidth'}) { }
21 0 elsif ($totwidth >= $opts{'displaywidth'}) { }
202 2 23 if $totwidth <= $opts{'displaywidth'} and $i >= $rounded_size - 1
204 3 2 if $ncols == 1
218 2 40 if ($i >= scalar @l) { }
226 36 4 unless ($ncols == 1 and $opts{'ljust'})
227 4 32 $opts{'ljust'} ? :
232 10 2 if scalar @texts