Condition Coverage

blib/lib/Perl/Tidy/HtmlWriter.pm
Criterion Covered Total %
condition 12 51 23.5


and 3 conditions

line !l l&&!r l&&r condition
294 0 0 0 ${$rin_toc_package;} and ${$rin_toc_package;} ne $package
578 1 0 0 $css_linkname and $rOpts->{'nohtml-style-sheets'}
796 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"
975 0 0 0 $success_flag and $rOpts->{'frames'}
1164 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"
1247 1 0 0 ${$rtoc_string;} and not $rOpts->{'frames'}
1 0 0 ${$rtoc_string;} and not $rOpts->{'frames'} and $rOpts->{'html-table-of-contents'}
1323 41 5 0 $type eq "i" and $token =~ /^(sub\s+)(\w.*)$/
1344 41 5 0 $type eq "i" and $token =~ /^(package\s+)(\w.*)$/
1383 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
829 0 0 0 $rOpts->{'frames'} || !$rOpts->{'html-table-of-contents'}
846 0 0 0 $rOpts->{'frames'} || !$rOpts->{'html-table-of-contents'}
1395 0 0 26 $missing_html_entities or not $rOpts_html_entities