Condition Coverage

blib/lib/Perl/Tidy/HtmlWriter.pm
Criterion Covered Total %
condition 10 57 17.5


and 3 conditions

line !l l&&!r l&&r condition
286 0 0 0 ${$rin_toc_package;} and ${$rin_toc_package;} ne $package
573 1 0 0 $css_linkname and $rOpts->{'nohtml-style-sheets'}
604 0 0 0 $fh->can("close") and $filename ne "-"
0 0 0 $fh->can("close") and $filename ne "-" and not ref $filename
803 0 0 0 $line =~ /\s*<ul>\s*$/i and $in_toc eq "UL"
0 0 0 $line =~ m[\s*</ul>]i and $in_toc eq "UL"
984 0 0 0 $success_flag and $rOpts->{'frames'}
1174 0 1 0 $rOpts->{'pod2html'} and $self->{'_pod_cut_count'} >= 1
1 0 0 $rOpts->{'pod2html'} and $self->{'_pod_cut_count'} >= 1 and $rOpts->{'html-color-background'} eq "#FFFFFF"
1262 1 0 0 ${$rtoc_string;} and not $rOpts->{'frames'}
1 0 0 ${$rtoc_string;} and not $rOpts->{'frames'} and $rOpts->{'html-table-of-contents'}
1343 46 0 0 $type eq "S" and $token =~ /^(\w+\s+)(\w.*)$/
1365 46 0 0 $type eq "P" and $token =~ /^(\w+\s+)(\w.*)$/
1404 0 0 0 $color and $color ne $rOpts->{'html-color-punctuation'}

or 3 conditions

line l !l&&r !l&&!r condition
111 0 0 1 not $input_file or $input_file eq "-"
0 0 1 not $input_file or $input_file eq "-" or ref $input_file
836 0 0 0 $rOpts->{'frames'} || !$rOpts->{'html-table-of-contents'}
853 0 0 0 $rOpts->{'frames'} || !$rOpts->{'html-table-of-contents'}
1416 0 0 26 $missing_html_entities or not $rOpts_html_entities