Branch Coverage

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


line true false branch
46 0 15 unless my $code = $self->can('output_' . $para->type =~ s/-/_/gru)
72 13 10 if $_nextblank
82 13 10 if defined $leader
87 1 22 if (defined $typestyle{'bg'})
95 0 25 unless length $line or defined $leader
102 0 25 if (length $line > $width) { }
103 0 0 if (substr($line, 0, $width) =~ /(\s+)\S*$/u) { }
121 13 12 if (defined $leader) { }
126 9 4 if (length($leader) + 1 <= $indent) { }
134 4 0 if length $part
162 1 14 if ($item->type eq 'plain') { }
1 13 elsif ($item->type ne 'item') { }
5 8 elsif ($listtype eq 'bullet') { }
3 5 elsif ($listtype eq 'number') { }
5 0 elsif ($listtype eq 'text') { }
184 0 14 unless my $code = $self->can('output_' . $item->type =~ s/-/_/gru)
218 2 2 unless ($firstrow)
230 5 5 if $cell->heading
236 2 6 $cell->align eq 'centre' ? :
2 8 $cell->align eq 'right' ? :