Condition Coverage

blib/lib/Time/P.pm
Criterion Covered Total %
condition 52 87 59.7


and 3 conditions

line !l l&&!r l&&r condition
242 190 0 1531 defined($re = shift @res) and $str =~ /\G$re/cg
283 17 173 0 not defined $mday and defined(my $Od = $struct->{'Od'})
287 17 173 0 not defined $mday and defined(my $Oe = $struct->{'Oe'})
305 0 0 0 defined $struct->{'g'} and not defined $struct->{'y'}
352 181 9 0 not defined $year and defined(my $Oy = $struct->{'Oy'})
390 20 151 19 defined $wday and $wday == 0
398 0 190 0 not defined $u_week and defined(my $OU = $struct->{'OU'})
409 82 108 0 not defined $w_week and defined(my $OW = $struct->{'OW'})
420 82 108 0 not defined $v_week and defined(my $OV = $struct->{'OV'})
437 17 173 0 not defined $month and defined(my $Om = $struct->{'Om'})
450 179 0 0 defined $hour and length $struct->{'p'}
461 11 179 0 not defined $hour and defined(my $OH = $struct->{'OH'})
11 179 0 not defined $hour and defined(my $OI = $struct->{'OI'})
484 11 179 0 not defined $min and defined(my $OM = $struct->{'OM'})
495 11 179 0 not defined $sec and defined(my $OS = $struct->{'OS'})
526 82 108 0 not defined $w_week and defined $u_week
532 82 26 82 not defined $v_week and defined $w_week
538 12 34 36 $t->day_of_week > 1 and $t->day_of_week < 5
541 108 0 82 $wyear and defined $v_week
108 28 54 $wyear and defined $v_week and $v_week > 1
26 55 55 defined $v_week and $v_week > 1
81 0 55 defined $v_week and $v_week > 1 and defined $year
26 55 0 defined $v_week and $v_week > 1
81 0 0 defined $v_week and $v_week > 1 and defined $orig->{'year'}
600 14 0 0 not @haystack and $needle eq ''

or 3 conditions

line l !l&&r !l&&!r condition
372 0 0 190 $struct->{'u'} // $struct->{'w'}
449 0 0 179 $struct->{'I'} // $struct->{'l'}
536 82 0 0 $year // $orig->{'year'}
0 0 0 ($year // $orig->{'year'}) // 'Time::C'->now_utc->year