Branch Coverage

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


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