Branch Coverage

blib/lib/App/sdview/Parser/Pod.pm
Criterion Covered Total %
branch 38 40 95.0


line true false branch
73 20 106 if ($type eq 'Document') { }
9 97 elsif ($type =~ /^head(\d+)$/u) { }
9 88 elsif ($type eq 'Para' and $_curpara and $_curpara->type eq 'item' and $_curpara->listtype eq 'text' and not length $_curpara->text) { }
23 65 elsif (my $class = $PARA_TYPES{$type}) { }
6 59 elsif ($type eq 'L') { }
18 41 elsif (any {$type eq $_;} @FORMAT_TYPES) { }
1 40 elsif ($type eq 'over-block') { }
11 29 elsif ($type =~ /^over-(.*)/u) { }
9 20 elsif ($type eq 'item-text') { }
20 0 elsif ($type =~ /^item-(.*)/u) { }
97 3 3 if (defined $target and not $target =~ m[^\w+://]u)
136 20 106 if ($type eq 'Document') { }
9 97 elsif ($type =~ /^head\d+$/u) { }
32 65 elsif ($PARA_TYPES{$type}) { }
24 41 elsif (any {$type eq $_;} @FORMAT_TYPES) { }
1 40 elsif ($type eq 'over-block') { }
11 29 elsif ($type =~ /^over-(.*)/u) { }
29 0 elsif ($type =~ /^item-.*/u) { }
143 3 29 if $type eq "Verbatim"
166 9 85 if ($_curpara->type eq 'item' and $_curpara->listtype eq 'text' and not length $_curpara->term) { }