Branch Coverage

blib/lib/Date/Fmtstr2time.pm
Criterion Covered Total %
branch 0 150 0.0


line true false branch
303 0 0 unless $fmts[$i] =~ /\w/o
309 0 0 if ($fmts[$i] =~ /^$f/)
320 0 0 if $err =~ /\w/
323 0 0 if ($rtnTime >= $begofyear) { }
324 0 0 if $#tl < 5
327 0 0 unless defined $tl[$i]
330 0 0 unless $tl[3]
332 0 0 if $tl[0] > 59
333 0 0 if $tl[1] > 59
334 0 0 if $tl[2] > 23
335 0 0 if $tl[3] > 31
336 0 0 if $tl[4] > 11
338 0 0 if $err =~ /\w/
353 0 0 unless length $tl[4]
389 0 0 unless length $tl[4]
425 0 0 unless length $tl[4]
440 0 0 unless $input > 0 and $input <= 12
467 0 0 unless $input =~ /^\d{12}$/
480 0 0 unless $input =~ /^\d{14}$/
494 0 0 unless $input =~ /^\d{6}$/
505 0 0 unless $input =~ /^\d{6}$/
517 0 0 unless $input =~ /^\d{4}$/
528 0 0 unless $input =~ /^\d{6}$/
539 0 0 unless $input =~ /^\d{4}$/
550 0 0 unless $input =~ /^\d{8}$/
562 0 0 unless $input =~ /^\d{6}$/
574 0 0 unless $input =~ /^\d{4}$/
585 0 0 unless $input =~ /^\d\d\d\d$/
602 0 0 unless $input =~ /^\d\d$/
605 0 0 if ($today[5] % 100 > 50) { }
607 0 0 if $input < 50
612 0 0 if $input < 50
623 0 0 if $input =~ /^\d\d?$/
624 0 0 unless $input =~ /^\d\d\d\d?$/
627 0 0 if ($today[5] % 100 > 50) { }
629 0 0 if $input % 100 < 50
634 0 0 if $input < 50
646 0 0 unless $input > 0 and $input <= 366
649 0 0 unless $rtnTime > 86400
658 0 0 unless $input > 0 and $input <= 31
675 0 0 unless $input > 0 and $input <= 12
678 0 0 unless ($tl[2] =~ /\d/)
680 0 0 if $rtnTime
695 0 0 unless $input >= 0 and $input < 24
698 0 0 unless ($tl[2] =~ /\d/)
700 0 0 if $rtnTime
715 0 0 unless $input >= 0 and ($input < 2400 and $input % 100 < 60)
719 0 0 unless ($tl[1] =~ /\d/ or $tl[2] =~ /\d/)
723 0 0 if $rtnTime
738 0 0 if $input < 100 or $input > 1259
741 0 0 unless ($tl[1] =~ /\d/ or $tl[2] =~ /\d/)
745 0 0 if $rtnTime
754 0 0 unless $input =~ /^\d{6}$/
766 0 0 unless $input =~ /^\d{6}$/
777 0 0 if ($tl[2] < 12) { }
779 0 0 if ($input =~ /p/io)
781 0 0 if $rtnTime
786 0 0 if ($input =~ /a/io)
788 0 0 if $rtnTime
834 0 0 unless $input >= 0 and $input <= 59
837 0 0 unless ($tl[1] =~ /\d/)
839 0 0 if $rtnTime
849 0 0 unless $input >= 0 and $input < 86400
852 0 0 unless ($tl[0] =~ /\d/ or $tl[1] =~ /\d/ or $tl[2] =~ /\d/)
856 0 0 if $rtnTime
871 0 0 unless $input >= 0 and $input < 1440
874 0 0 unless ($tl[1] =~ /\d/ or $tl[2] =~ /\d/)
877 0 0 if $rtnTime
892 0 0 unless $input >= 0 and $input <= 59
895 0 0 unless ($tl[0] =~ /\d/)
897 0 0 if $rtnTime
928 0 0 unless defined $dayhash{$input}
958 0 0 unless defined $dayhash{$input}
987 0 0 if $input < 1 or $input > 4
988 0 0 unless ($#tl >= 5)