Condition Coverage

blib/lib/HTML/Template/HTX.pm
Criterion Covered Total %
condition 30 45 66.6


and 3 conditions

line !l l&&!r l&&r condition
185 0 8 2 $] >= 5.008 and ref $file ne 'SCALAR'
197 1 4 2 ref $output_file eq 'SCALAR' and not defined $$output_file
202 0 6 4 $] >= 5.008 and ref $output ne 'SCALAR'
319 1 4 1 defined $_[1] and $_[1] =~ /\n/o
337 6 8 2 not $first_time and $$self{'_stats'}
464 0 7 3 defined $output and $$self{'_close_output'}
473 0 9 1 defined $file and $$self{'_close_file'}
479 0 0 10 $closed_output and $closed_file
634 3 1 2 defined $_[0] && !($_[0] =~ /^-/o)
924 0 13 12 $_[1] ne '' and $_[1] =~ /^$HTML::Template::HTX::_is_number$/o
960 8 9 23 $$_ ne '' and $$_ =~ /^$HTML::Template::HTX::_is_number$/o
1259 0 3 0 $ltm[5] == $gmt[5] and $ltm[7] > $gmt[7]
0 3 0 $ltm[5] == $gmt[5] and $ltm[7] < $gmt[7]

or 3 conditions

line l !l&&r !l&&!r condition
1259 0 0 3 $ltm[5] > $gmt[5] or $ltm[5] == $gmt[5] and $ltm[7] > $gmt[7]
0 0 3 $ltm[5] < $gmt[5] or $ltm[5] == $gmt[5] and $ltm[7] < $gmt[7]