Branch Coverage

blib/lib/Time/DayOfWeek.pm
Criterion Covered Total %
branch 7 18 38.8


line true false branch
18 0 6 unless defined $year
19 0 6 unless defined $mont and $mont
20 0 6 unless defined $daay and $daay
21 0 6 unless ($mont =~ /^\d+$/)
22 0 0 if ($Months[$i] =~ /^$mont/i)
24 0 6 if $year == 2008 and $mont >= 3 or $year == 2009 and $mont <= 2
28 1 0 if @_ >= @Days
29 7 0 length $_ > 3 ? :
31 0 0 if @_ >= @Months