Branch Coverage

blib/lib/Pod/POM/View/DocBook.pm
Criterion Covered Total %
branch 0 98 0.0


line true false branch
104 0 0 unless (exists $$self{'topsect'})
105 0 0 if (exists $$self{'root'})
107 0 0 if (exists $topsect{$root})
114 0 0 if (not ref $$self{'preservecase'}) { }
0 0 elsif (ref $$self{'preservecase'} eq 'ARRAY') { }
122 0 0 if (not ref $$self{'forcecase'}) { }
0 0 elsif (ref $$self{'forcecase'} eq 'ARRAY') { }
145 0 0 if ($type =~ s/^seq_//) { }
0 0 elsif (UNIVERSAL::isa($item, 'HASH')) { }
0 0 elsif (not ref $item) { }
149 0 0 if (defined $$item{'content'}) { }
0 0 elsif (defined $$item{'text'}) { }
154 0 0 ref $text ? :
185 0 0 if (ref $self)
187 0 0 if ($$self{'suppressversion'})
192 0 0 if (ref $content[0] eq 'Pod::POM::Node::Head1' and $content[0]->title eq 'NAME' and int @{$content[0]->content;} == 1)
237 0 0 if ($$forcecase{$lc_word}) { }
0 0 elsif (not $$preservecase{$lc_word}) { }
242 0 0 unless $dont_ucfirst{$lc_word} and $is_subsequent
259 0 0 unless ref $node
262 0 0 if ($$node[0] =~ /^[BI]?$/)
264 0 0 if (ref $_) { }
280 0 0 ref $self ? :
282 0 0 if (ref $self and $$self{'titlecasing'})
333 0 0 unless @$items or @{$over->content;}
335 0 0 if (@$items) { }
338 0 0 if ($first_title =~ /^\s*\*\s*/) { }
0 0 elsif ($first_title =~ /^\s*\d+\.?\s*/) { }
362 0 0 ref $self ? :
379 0 0 ref $self ? :
383 0 0 if (defined $title)
384 0 0 if ref $title
385 0 0 if $strip
386 0 0 if (length $title)
403 0 0 unless $for->format =~ /\bdocbook\b/
411 0 0 unless $begin->format =~ /\bdocbook\b/
488 0 0 if ($link =~ /^
493 0 0 if ($link =~ m[^\w+://]s)
502 0 0 if ($link =~ s/^ ([^|]+) \| //x)
511 0 0 if ($link =~ m[^ (.*?) / "? (.*?) "? $]x) { }
0 0 elsif ($link =~ /\s/) { }
522 0 0 unless defined $linktext
525 0 0 if (defined $page and length $page)
530 0 0 if defined $url and defined $section and length $section
564 0 0 unless (defined $url)
565 0 0 defined $title ? :
568 0 0 unless defined $title
596 0 0 unless ($XML_PROTECT)
634 0 0 if $DEBUG