Branch Coverage

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


line true false branch
24 0 0 if $object->isa('OODoc::Text::Option')
25 0 0 if $object->isa('OODoc::Text::Default')
26 0 0 if $object->isa('OODoc::Text::Example')
27 0 0 if $object->isa('OODoc::Text::Subroutine')
28 0 0 defined $text ? :
30 0 0 if $object->isa('OODoc::Manual')
33 0 0 unless $object->isa('OODoc::Text::Structure')
36 0 0 defined $manual ? :
43 0 0 unless my $manual = $args{'manual'}
53 0 0 unless my $output = 'IO::File'->new($tmpfile, 'w')
96 0 0 if (not defined $append) { }
0 0 elsif (ref $append eq 'CODE') { }
99 0 0 unless my $output = $args{'output'}
110 0 0 unless my $text = $args{'structure'}
114 0 0 unless my $output = $args{'output'}
115 0 0 unless my $manual = $args{'manual'}
121 0 0 if $examples eq 'EXPAND'
130 0 0 unless my $text = $args{'structure'}
134 0 0 unless my $output = $args{'output'}
135 0 0 unless my $manual = $args{'manual'}
147 0 0 unless my $manual = $args{'manual'}
150 0 0 unless defined $details
152 0 0 unless my $output = $args{'output'}
159 0 0 unless my $manual = $args{'manual'}
162 0 0 if defined $diags
166 0 0 unless @diags
168 0 0 unless my $output = $args{'output'}
169 0 0 unless $diags
181 0 0 unless defined $indent
194 0 0 unless my $examples = $args{'examples'}
195 0 0 unless @$examples
197 0 0 unless my $manual = $args{'manual'}
198 0 0 unless my $output = $args{'output'}
211 0 0 unless my $diagnostics = $args{'diagnostics'}
212 0 0 unless @$diagnostics
214 0 0 unless my $manual = $args{'manual'}
215 0 0 unless my $output = $args{'output'}
230 0 0 unless @$subs
232 0 0 unless my $output = $args{'output'}
244 0 0 unless my $output = $args{'output'}
251 0 0 unless my $subroutine = $args{'subroutine'}
252 0 0 unless my $manual = $args{'manual'}
253 0 0 unless my $output = $args{'output'}
259 0 0 if $manual->inherited($subroutine)
270 0 0 length $paramlist ? :
273 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' ? :
283 0 0 unless length $use
291 0 0 unless my $subroutine = $args{'subroutine'}
292 0 0 unless my $manual = $args{'manual'}
293 0 0 unless my $output = $args{'output'}
296 0 0 $manual->inherited($subroutine) ? :
301 0 0 $args{'last'} ? :
309 0 0 unless my $output = $args{'output'}
317 0 0 unless my $output = $args{'output'}
318 0 0 unless my $option = $args{'option'}
319 0 0 unless my $manual = $args{'manual'}
324 0 0 if length $params
332 0 0 unless my $output = $args{'output'}
333 0 0 unless my $option = $args{'option'}
334 0 0 unless my $manual = $args{'manual'}
338 0 0 unless my $where = $option->findDescriptionObject
340 0 0 if length $descr
350 0 0 unless my $head = $args{'header'}
351 0 0 unless my $output = $args{'output'}
352 0 0 unless my $rows = $args{'rows'}
353 0 0 unless @$rows
370 0 0 if (my $widths = $args{'widths'})
411 0 27 unless ($string =~ s/^(|.*?[^>]) # contained [>]{$brack_count} (?![>]) //sx)
420 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') { }
427 4 4 if ($container =~ m[^\s*([^/|]*)\|])
433 2 2 if ($container =~ m[^\s*([^/]*)/\"([^"]*)\"\s*$]) { }
1 1 elsif ($container =~ m[^\s*([^/]*)/(.*?)\s*$]) { }
441 1 2 !length($chapter) ? :
1 3 !length($man) ? :
458 0 0 unless my $manual = $args{'manual'}
459 0 0 unless my $subroutine = $args{'subroutine'}
462 0 0 unless length $text
464 0 0 unless my $output = $args{'output'}
467 0 0 unless my $extends = $self->extends
468 0 0 unless my $refer = $extends->findDescriptionObject
474 0 0 unless my $manual = $args{'manual'}
475 0 0 unless my $subroutine = $args{'subroutine'}
476 0 0 unless my $output = $args{'output'}
485 0 0 unless my $in = 'IO::File'->new($infn, 'r')
488 0 0 unless my $out = 'IO::File'->new($outfn, 'w')
494 0 0 if ($l =~ /^\s*$/s) { }
495 0 0 if $last_is_blank
506 0 0 unless $out->close