Branch Coverage

blib/lib/Template/Plugin/ASCIITable.pm
Criterion Covered Total %
branch 44 70 62.8


line true false branch
51 8 3 if $params
66 0 10 if @rest
70 2 28 if $$c{'align'}
71 0 30 if $$c{'nalign'}
72 2 28 if ($$c{'width'} || -1) > 0
79 1 9 if $l
80 1 9 if $r
130 13 0 if (exists $paramSubs{lc $k}) { }
176 0 4 if (@what == 1 and ref $what[0] eq 'ARRAY')
195 0 3 if (@what == 1 and ref $what[0] eq 'ARRAY')
243 0 2 if (@what == 1 and ref $what[0] eq 'ARRAY')
262 0 1 if (@what == 1 and ref $what[0] eq 'ARRAY')
303 1 10 if (@colspec == 1 and ref $colspec[0] eq 'ARRAY')
309 2 28 if (ref $_) { }
425 0 9 if (@rows == 1 and ref $rows[0] eq 'ARRAY')
443 2 0 if (@row == 1 and ref $row[0] eq 'ARRAY')
549 1 4 if (ref $style eq 'ARRAY') { }
4 0 elsif (exists $styles{lc $style}) { }
550 1 0 if (@$style == 6) { }
0 0 elsif (@$style == 5) { }
0 0 elsif (@$style == 8) { }
568 0 0 if $AUTOLOAD =~ /:?DESTROY$/
569 0 0 if (exists $paramSubs{lc $AUTOLOAD}) { }
579 0 10 if exists $$self{'hide'}{'headrow'}
580 0 10 if exists $$self{'hide'}{'headline'}
581 1 9 if exists $$self{'hide'}{'firstline'}
582 0 10 if exists $$self{'hide'}{'lastline'}
583 0 10 if exists $$self{'allow'}{'ansi'}
584 1 9 if exists $$self{'allow'}{'html'}
585 0 10 if $$self{'errors'}
586 0 10 if $$self{'headrow'}
587 3 7 unless exists $$self{'hide'}{'rowline'}
601 10 0 $$self{'rows'} ? :
606 3 7 $$self{'style'} ? :
610 3 7 $$self{'style'} ? :