Branch Coverage

blib/lib/App/sdview/Output/Formatted.pm
Criterion Covered Total %
branch 32 40 80.0


line true false branch
44 0 15 unless my $code = $self->can("output_" . $para->type =~ s/-/_/gru)
71 11 10 if $_nextblank
81 11 10 if defined $leader
86 1 20 if (defined $typestyle{'bg'})
95 0 23 unless length $line or defined $leader
102 0 23 if (length $line > $width) { }
103 0 0 if (substr($line, 0, $width) =~ /(\s+)\S*$/u) { }
121 11 12 if (defined $leader) { }
126 8 3 if (length $leader <= $indent) { }
134 3 0 if length $part
161 1 12 if ($item->type eq 'plain') { }
1 11 elsif ($item->type ne 'item') { }
5 6 elsif ($listtype eq 'bullet') { }
3 3 elsif ($listtype eq 'number') { }
3 0 elsif ($listtype eq 'text') { }
183 0 12 unless my $code = $self->can("output_" . $item->type =~ s/-/_/gru)
219 2 2 unless ($firstrow)
224 2 2 if $firstrow
237 2 6 $cell->align eq 'centre' ? :
2 8 $cell->align eq 'right' ? :