Branch Coverage

lib/OODoc/Format/Pod.pm
Criterion Covered Total %
branch 19 198 9.6


line true false branch
27 0 0 if $object->isa("OODoc::Text::Option")
28 0 0 if $object->isa("OODoc::Text::Default")
29 0 0 if $object->isa("OODoc::Text::Example")
30 0 0 if $object->isa("OODoc::Text::Subroutine")
31 0 0 defined $text ? :
33 0 0 if $object->isa("OODoc::Manual")
36 0 0 unless $object->isa("OODoc::Text::Structure")
39 0 0 defined $manual ? :
46 0 0 unless my $manual = $args{'manual'}
56 0 0 unless my $output = "IO::File"->new($tmpfile, "w")
99 0 0 if (not defined $append) { }
0 0 elsif (ref $append eq 'CODE') { }
102 0 0 unless my $output = $args{'output'}
113 0 0 unless my $text = $args{'structure'}
117 0 0 unless my $output = $args{'output'}
118 0 0 unless my $manual = $args{'manual'}
124 0 0 if $examples eq "EXPAND"
133 0 0 unless my $text = $args{'structure'}
137 0 0 unless my $output = $args{'output'}
138 0 0 unless my $manual = $args{'manual'}
150 0 0 unless my $manual = $args{'manual'}
153 0 0 unless defined $details
155 0 0 unless my $output = $args{'output'}
162 0 0 unless my $manual = $args{'manual'}
165 0 0 if defined $diags
169 0 0 unless @diags
171 0 0 unless my $output = $args{'output'}
172 0 0 unless $diags
184 0 0 unless defined $indent
197 0 0 unless my $examples = $args{'examples'}
198 0 0 unless @$examples
200 0 0 unless my $manual = $args{'manual'}
201 0 0 unless my $output = $args{'output'}
214 0 0 unless my $diagnostics = $args{'diagnostics'}
215 0 0 unless @$diagnostics
217 0 0 unless my $manual = $args{'manual'}
218 0 0 unless my $output = $args{'output'}
233 0 0 unless @$subs
235 0 0 unless my $output = $args{'output'}
247 0 0 unless my $output = $args{'output'}
254 0 0 unless my $subroutine = $args{'subroutine'}
255 0 0 unless my $manual = $args{'manual'}
256 0 0 unless my $output = $args{'output'}
262 0 0 if $manual->inherited($subroutine)
273 0 0 $paramlist =~ /^[\[<]|[\]>]$/ ? :
0 0 !length($paramlist) ? :
279 0 0 $type eq 'tie' ? :
0 0 $type eq 'overload' ? :
0 0 $type eq 'function' ? :
0 0 $type eq 'ci_method' ? :
0 0 $type eq 'c_method' ? :
0 0 $type eq 'i_method' ? :
289 0 0 unless length $use
297 0 0 unless my $subroutine = $args{'subroutine'}
298 0 0 unless my $manual = $args{'manual'}
299 0 0 unless my $output = $args{'output'}
302 0 0 $manual->inherited($subroutine) ? :
309 0 0 $args{'last'} ? :
315 0 0 unless my $output = $args{'output'}
323 0 0 unless my $output = $args{'output'}
324 0 0 unless my $option = $args{'option'}
325 0 0 unless my $manual = $args{'manual'}
330 0 0 if length $params
338 0 0 unless my $output = $args{'output'}
339 0 0 unless my $option = $args{'option'}
340 0 0 unless my $manual = $args{'manual'}
344 0 0 unless my $where = $option->findDescriptionObject
346 0 0 if length $descr
356 0 0 unless my $head = $args{'header'}
357 0 0 unless my $output = $args{'output'}
358 0 0 unless my $rows = $args{'rows'}
359 0 0 unless @$rows
376 0 0 if (my $widths = $args{'widths'})
417 0 27 unless ($string =~ s/^(|.*?[^>]) # contained [>]{$brack_count} (?![>]) //sx)
426 3 24 if ($tag =~ /[XZ]/) { }
13 11 elsif ($tag =~ /[BCI]/) { }
3 8 elsif ($tag eq 'E') { }
0 8 elsif ($tag eq 'F') { }
8 0 elsif ($tag eq 'L') { }
0 0 elsif ($tag eq 'S') { }
433 4 4 if ($container =~ m[^\s*([^/|]*)\|])
439 2 2 if ($container =~ m[^\s*([^/]*)/\"([^"]*)\"\s*$]) { }
1 1 elsif ($container =~ m[^\s*([^/]*)/(.*?)\s*$]) { }
447 1 2 !length($chapter) ? :
1 3 !length($man) ? :
464 0 0 unless my $manual = $args{'manual'}
465 0 0 unless my $subroutine = $args{'subroutine'}
468 0 0 unless length $text
470 0 0 unless my $output = $args{'output'}
473 0 0 unless my $extends = $self->extends
474 0 0 unless my $refer = $extends->findDescriptionObject
480 0 0 unless my $manual = $args{'manual'}
481 0 0 unless my $subroutine = $args{'subroutine'}
482 0 0 unless my $output = $args{'output'}
491 0 0 unless my $in = "IO::File"->new($infn, "r")
494 0 0 unless my $out = "IO::File"->new($outfn, "w")
500 0 0 if ($l =~ /^\s*$/s) { }
501 0 0 if $last_is_blank
512 0 0 unless $out->close