Branch Coverage

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


line true false branch
45 1 77 unless exists $arguments{$arg}
48 1 26 unless my $rows = $param{'rows'}
55 1 25 if $param{'indent'} =~ /^[0-9]+$/
58 0 26 unless exists $charsets{$style}
61 22 4 if ($style eq 'classic')
71 9 17 if (defined $param{'align'}) { }
74 3 6 XXX ? :
81 17 9 if $param{'header_row'}
97 4 22 if $param->{'top_and_tail'}
105 4 22 if $param->{'top_and_tail'}
112 0 70 $param->{'compact'} ? :
125 9 17 unless $param->{'header_row'}
133 9 17 unless $param->{'header_row'}
134 6 11 $param->{'separate_rows'} ? :
142 9 17 $param->{'separate_rows'} ? :
165 0 299 $param->{'compact'} ? :
167 12 287 if ($align eq 'r' or $align eq 'right') { }
24 263 elsif ($align eq 'c' or $align eq 'center' or $align eq 'centre') { }
174 1 23 if $total_spaces % 2 == 1
189 47 205 unless defined $columns[$i]
193 141 64 if not defined $widths[$i] or $width > $widths[$i]