Branch Coverage

blib/lib/App/sdview/Output/Formatted.pm
Criterion Covered Total %
branch 30 38 78.9


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 2 11 if ($item->type ne 'item') { }
5 6 elsif ($listtype eq 'bullet') { }
3 3 elsif ($listtype eq 'number') { }
3 0 elsif ($listtype eq 'text') { }
174 0 13 unless my $code = $self->can("output_" . $item->type =~ s/-/_/gru)
211 2 2 unless ($firstrow)
216 2 2 if $firstrow
229 2 6 $cell->align eq 'centre' ? :
2 8 $cell->align eq 'right' ? :