Branch Coverage

blib/lib/Calendar/Simple.pm
Criterion Covered Total %
branch 28 28 100.0


line true false branch
86 20 2 wantarray ? :
172 14 8 if ($dt) { }
181 10 12 if $first < 0
189 15 8 unless $mon == 2
190 5 3 _isleap($yr) ? :
194 2 6 unless $_[0] % 400
195 1 5 unless $_[0] % 100
196 3 2 unless $_[0] % 4
205 4 30 unless $mon
206 8 26 unless $year
207 24 10 unless defined $start_day
209 1 33 if $year < 1970 and not $dt
210 4 29 if $mon < 1 or $mon > 12
211 4 25 if $start_day < 0 or $start_day > 6