Condition Coverage

blib/lib/Pod/Html.pm
Criterion Covered Total %
condition 108 158 68.3


and 2 conditions

line l !l condition
351 0 12 print HTML $_ and next

and 3 conditions

line !l l&&!r l&&r condition
122 529 0 0 ${$dataref;}[$i] =~ /^\s+$/lm and not $$dataref[$i] =~ /^\s/l
137 19 0 0 defined &Dos::UseLFN and Dos::UseLFN()
151 19 0 0 @ARGV && $ARGV[0]
162 2 0 17 $Htmlroot eq '' and defined $Htmldir
2 15 2 $Htmlroot eq '' and defined $Htmldir and $Htmldir ne ''
15 1 1 $Htmlroot eq '' and defined $Htmldir and $Htmldir ne '' and substr($Htmlfile, 0, length $Htmldir) eq $Htmldir
226 13 0 6 not $Title and $Podfile =~ /\.pod\z/l
231 6 0 0 $Verbose and $Title
289 2 1 16 $Doindex && $index
327 221 0 0 @Begin_Stack and $Begin_Stack[-1] ne 'html'
330 9 0 50 $Doindex && $index
350 229 12 1 @Begin_Stack and $Begin_Stack[-1] ne 'html'
351 229 0 12 @Begin_Stack and $Begin_Stack[-1] eq 'html'
374 0 7 3 $line =~ /\S/l and not $line =~ /\t/l
399 2 1 16 $Doindex and $index
3 15 1 $Doindex and $index and $Backlink
514 19 0 0 $opt_verbose and defined $opt_flush
536 1 3 15 $Saved_Cache_Key and $this_cache_key eq $Saved_Cache_Key
541 2 0 2 -f $dircache and -f $itemcache
660 2 0 2 defined $Pages{$libpod} and $Pages{$libpod}
670 2 0 1 /(\.pod|\.pm)\z/l && !(-d $_)
752 94 8 14 -d "$dir/$_" and $_ ne '.'
102 8 6 -d "$dir/$_" and $_ ne '.' and $_ ne '..'
16 6 0 -d "$dir/$_" and $_ ne '.' and $_ ne '..' and $HiddenDirs || !/^\./l
893 11 15 33 $level == 1 and not $Top
894 6 26 1 $hasindex and $Backlink
936 69 28 0 $tag ne 'dl' and $ListNewTerm
1251 188 1229 15 $notinIS and $word =~ / ^([a-z_]{2,}) # The function name \( ([0-9][a-z]* # Manual page(1) or page(1M) |[^)]*[\$\@\%][^)]+ # ($foo), (1, @foo), (%hash) | # () ) \) ([.,;]?)$ # a possible punctuation follows /ilx
1309 395 0 18 defined $_ && s/\s+\z//l
1443 0 9 0 $ident and $page
1458 15 10 2 $section and $page
1475 0 0 0 $ident and $page
1515 160 97 22 not $3 and $lev == 1
1517 160 22 97 not $3 and $lev > 1
1572 33 5 0 defined $url and !defined($EmittedItem) || $EmittedItem ne $fid
1620 7 37 0 not defined $Pages{$page} and defined $Sections{$page}
1638 7 7 0 defined $Pages{$page_name} and $Pages{$page_name} =~ /([^:]*$page)\.(?:pod|pm):/l
1666 6 1 0 $section ne '' and $Pages{$page} =~ /([^:]*(?
1725 1 0 4 $rel_path ne '' and substr($rel_path, -1) ne '/'
1 0 4 $rel_path ne '' and substr($rel_path, -1) ne '/' and substr($dest_file, 0, 1) ne '#'
1748 39 36 2 defined $page and $page ne ''
1777 0 0 0 exists $Pages{$page} and $Pages{$page} =~ /([^:.]*)\.[^:]*:/l

or 2 conditions

line l !l condition
1265 1 14 $3 || ''
1755 0 2 $Items{$fid} || ''
1891 39 1 $E2c{$1} || ''

or 3 conditions

line l !l&&r !l&&!r condition
665 1 0 0 $Pages{$libpod} =~ /([^:]*\.pod):/l or $Pages{$libpod} =~ /([^:]*\.pm):/l
752 0 6 0 $HiddenDirs || !/^\./l
1098 0 0 9 not defined $Begin_Stack[-1] or $Begin_Stack[-1] ne $whom
1359 2 17 1 $lev > 1 || $par =~ /[BI]
1391 1 2 0 $lev > 1 || $par =~ /[BI]
1502 6 1 0 $$rstr =~ s/^[^>]*>//l or $Quiet
1506 1 1 0 $$rstr =~ s/^>//l or $Quiet
1572 5 0 0 !defined($EmittedItem) || $EmittedItem ne $fid