Branch Coverage

lib/Pod/HtmlTree.pm
Criterion Covered Total %
branch 17 30 56.6


line true false branch
50 28 60 if (-d $_)
52 4 48 if ($_ eq $dir)
59 80 4 unless -f $_ and /\.pm$/ || /\.pod$/
94 0 0 if (length $line < $TOTAL_LEN - 2)
132 0 1 unless defined $htmldocdir
145 1 0 unless -d $htmldocdir
156 1 0 unless -d $dir
158 0 1 unless open FILE, "<$pm"
164 0 1 unless open FILE, ">$tmpfile"
168 1 0 -d 'lib' ? :
180 0 1 unless open FILE, "<$htmlfile"
183 0 1 unless open FILE, ">$htmlfile"
186 1 0 if (-f $pm) { }
204 1 0 unless defined $csstext
206 0 1 unless open FILE, ">$dstfile"