Condition Coverage

blib/lib/Time/Period.pm
Criterion Covered Total %
condition 169 192 88.0


and 3 conditions

line !l l&&!r l&&r condition
347 1 126 0 $v1 =~ /\w/ and $v2 =~ /\w/
433 1001 0 130 0 == $wd[$i] and 1 != $md
453 1 5 1 $v1 > 99 and $v1 < 1970
454 1 4 1 $v2 > 99 and $v2 < 1970
463 1 1 3 $v1 <= $yr and $yr <= $v2
465 1 5 1 $range > 99 and $range < 1970
518 2 0 3 $v1 <= $mo and $mo <= $v2
555 1 1 1 $v1 <= $wk and $wk <= $v2
586 0 2 1 $v1 <= $yd and $yd <= $v2
614 0 2 1 $v1 <= $md and $md <= $v2
666 1 1 2 $v1 <= $wd and $wd <= $v2
733 0 2 10 $v1 <= $hr and $hr <= $v2
775 0 2 1 $v1 <= $min and $min <= $v2
801 0 2 1 $v1 <= $sec and $sec <= $v2

or 3 conditions

line l !l&&r !l&&!r condition
250 1 1 207 $time =~ /\D/ or $time eq ''
289 2 1 201 $lb != $rb or $lb == 0
451 1 1 7 $v1 =~ /\D/ or $v2 =~ /\D/
452 0 0 7 $v1 < 0 or $v2 < 0
465 1 0 7 $range =~ /\D/ or $range < 0
1 0 7 $range =~ /\D/ or $range < 0 or $range > 99 and $range < 1970
503 1 1 4 $v1 < 0 or $v1 > 11
513 1 1 1 $v2 < 0 or $v2 > 11
516 0 5 1 $v1 <= $mo or $v2 >= $mo
529 1 1 1 $range < 0 or $range > 11
547 1 1 10 $v1 =~ /\D/ or $v2 =~ /\D/
550 1 1 8 $v1 < 0 or $v1 > 5
551 1 1 6 $v2 < 0 or $v2 > 5
553 1 1 1 $v1 <= $wk or $v2 >= $wk
560 1 1 4 $range < 0 or $range > 5
578 1 1 10 $v1 =~ /\D/ or $v2 =~ /\D/
581 1 1 8 $v1 < 0 or $v1 > 365
582 1 1 6 $v2 < 0 or $v2 > 365
584 1 1 1 $v1 <= $yd or $v2 >= $yd
590 2 0 5 $range =~ /\D/ or $range < 0
2 1 4 $range =~ /\D/ or $range < 0 or $range > 365
608 1 1 10 $v1 =~ /\D/ or $v2 =~ /\D/
609 1 1 8 $v1 < 1 or $v1 > 31
610 1 1 6 $v2 < 1 or $v2 > 31
612 1 1 1 $v1 <= $md or $v2 >= $md
617 1 1 4 $range =~ /\D/ or $range < 1
2 1 3 $range =~ /\D/ or $range < 1 or $range > 31
651 1 1 5 $v1 < 0 or $v1 > 6
661 1 1 1 $v2 < 0 or $v2 > 6
664 5 1 1 $v1 <= $wd or $v2 >= $wd
677 1 1 1 $range < 0 or $range > 6
727 1 0 19 $v1 =~ /\D/ or $v1 < 0
1 1 18 $v1 =~ /\D/ or $v1 < 0 or $v1 > 23
728 1 0 17 $v2 =~ /\D/ or $v2 < 0
1 1 16 $v2 =~ /\D/ or $v2 < 0 or $v2 > 23
731 1 2 1 $v1 <= $hr or $v2 >= $hr
752 1 0 9 $range =~ /\D/ or $range < 0
1 1 8 $range =~ /\D/ or $range < 0 or $range > 23
769 1 1 8 $v1 =~ /\D/ or $v2 =~ /\D/
770 0 1 7 $v1 < 0 or $v1 > 59
771 0 1 6 $v2 < 0 or $v2 > 59
773 1 1 1 $v1 <= $min or $v2 >= $min
778 1 0 4 $range =~ /\D/ or $range < 0
1 1 3 $range =~ /\D/ or $range < 0 or $range > 59
795 1 1 8 $v1 =~ /\D/ or $v2 =~ /\D/
796 0 1 7 $v1 < 0 or $v1 > 59
797 0 1 6 $v2 < 0 or $v2 > 59
799 1 1 1 $v1 <= $sec or $v2 >= $sec
804 1 0 4 $range =~ /\D/ or $range < 0
1 1 3 $range =~ /\D/ or $range < 0 or $range > 59