Condition Coverage

blib/lib/Perl/Tidy/HtmlWriter.pm
Criterion Covered Total %
condition 11 75 14.6


and 3 conditions

line !l l&&!r l&&r condition
148 0 0 1 $log_message and $logger_object
290 0 0 0 ${$rin_toc_package;} and ${$rin_toc_package;} ne $package
580 1 0 0 $css_linkname and $rOpts->{'nohtml-style-sheets'}
720 0 0 0 $fh->can("close") and $filename ne "-"
0 0 0 $fh->can("close") and $filename ne "-" and not ref $filename
875 0 0 0 not $saw_charset and $line =~ /^\s*<meta.*charset=([\w\-]+)/i
0 0 0 $line =~ /\s*<ul>\s*$/i and $in_toc
0 0 0 $line =~ /\s*<ul>\s*$/i and $in_toc and $in_toc eq "UL"
0 0 0 $line =~ m[\s*</ul>]i and $in_toc
0 0 0 $line =~ m[\s*</ul>]i and $in_toc and $in_toc eq "UL"
1045 0 0 0 not $saw_index and defined $in_toc
1054 0 0 0 $success_flag and $rOpts->{'frames'}
1450 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"
1539 1 0 0 ${$rtoc_string;} and not $rOpts->{'frames'}
1 0 0 ${$rtoc_string;} and not $rOpts->{'frames'} and $rOpts->{'html-table-of-contents'}
1622 46 0 0 $type eq "S" and $token =~ /^(\w+\s+)(\w.*)$/
1644 46 0 0 $type eq "P" and $token =~ /^(\w+\s+)(\w.*)$/
1688 0 0 0 $color and $color ne $rOpts->{'html-color-punctuation'}

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 1 not $input_file or $input_file eq "-"
0 0 1 not $input_file or $input_file eq "-" or ref $input_file
867 0 0 0 $is_encoded_data or $is_pure_ascii_data
915 0 0 0 $rOpts->{'frames'} || !$rOpts->{'html-table-of-contents'}
932 0 0 0 $rOpts->{'frames'} || !$rOpts->{'html-table-of-contents'}
1700 0 0 26 $missing_html_entities or not $rOpts_html_entities