Branch Coverage

blib/lib/App/sdview/Parser/Pod.pm
Criterion Covered Total %
branch 30 38 78.9


line true false branch
163 0 8 unless my $code = $self->can("start_for_$target")
173 6 0 if @spec and not $spec[0] =~ /=/u
174 6 0 /^(.*?)=(.*)$/u ? :
178 4 2 if $style eq "md"
180 2 0 if $style eq "mediawiki"
190 2 1 if @args and not $args[0] =~ /=/u
195 0 2 unless my($key, $val) = /^(.*?)=(.*)$/u
228 3 3 if (defined $uri and not $uri =~ m[^\w+://]u)
289 11 27 if ($_curpara and $_curpara->type eq 'item' and $_curpara->listtype eq 'text' and not length $_curpara->text) { }
350 9 124 if ($_redirect_text)
354 2 122 if $_conv_nbsp
361 0 4 unless my @lines = split(/\n/u, $text, 0)
370 3 1 if (all {$_ =~ /^(:?)-{3,}(:?)$/u;} @$alignspec) { }
374 1 6 $2 ? :
1 7 if ($1 and $2) { }
420 0 2 unless my @lines = split(/\n/u, $text, 0)
425 3 11 if $line =~ /^\|-/u and push @rows, []
428 0 11 unless $line =~ s/^([!|])\s*//u
434 2 10 unless @rows