Branch Coverage

blib/lib/Text/Table/Tiny.pm
Criterion Covered Total %
branch 39 42 92.8


line true false branch
46 1 77 unless exists $arguments{$arg}
49 1 26 unless my $rows = $param{'rows'}
56 1 25 if $param{'indent'} =~ /^[0-9]+$/
59 0 26 unless exists $charsets{$style}
62 22 4 if ($style eq 'classic')
72 9 17 if (defined $param{'align'}) { }
75 3 6 XXX ? :
82 17 9 if $param{'header_row'}
98 4 22 if $param->{'top_and_tail'}
106 4 22 if $param->{'top_and_tail'}
113 0 70 $param->{'compact'} ? :
126 9 17 unless $param->{'header_row'}
134 9 17 unless $param->{'header_row'}
135 6 11 $param->{'separate_rows'} ? :
143 9 17 $param->{'separate_rows'} ? :
166 0 299 $param->{'compact'} ? :
168 12 287 if ($align eq 'r' or $align eq 'right') { }
24 263 elsif ($align eq 'c' or $align eq 'center' or $align eq 'centre') { }
175 1 23 if $total_spaces % 2 == 1
190 47 205 unless defined $columns[$i]
194 141 64 if not defined $widths[$i] or $width > $widths[$i]