Branch Coverage

blib/lib/App/sdview/Parser/Man.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
26 0 0 if defined $file
28 0 0 unless $? == 0
57 32 0 if (my $code = $self->can("_handle_$type")) { }
84 14 41 if $FONTTAGS{$font}
87 0 55 if $chunk->is_space
88 8 47 if $chunk->is_linebreak
89 0 55 if $chunk->is_break
95 2 31 if $ret =~ /([ \n]+)$/u
120 4 2 if (@_paragraphs and $_paragraphs[-1]->type eq 'list-text') { }
149 6 2 if (defined(my $marker = $para->marker))
151 6 0 if $marker eq "\x{2022}"
155 2 4 $listtype eq '(plain)' ? :
6 2 if (@_paragraphs and $listtype eq '(plain)' ? $_paragraphs[-1]->type =~ /^list-/u : $_paragraphs[-1]->type eq "list-$listtype") { }
167 2 6 if ($listtype eq '(plain)') { }