Branch Coverage

blib/lib/Astro/Utils.pm
Criterion Covered Total %
branch 26 56 46.4


line true false branch
66 0 4 unless defined $year and $year >= -1000 and $year <= 3000
69 2 2 if ($timezone =~ /^utc$/i) { }
2 0 elsif ($timezone =~ /^tdt$/i) { }
91 0 4 unless defined $year and $year >= -1000 and $year <= 3000
94 2 2 if ($timezone =~ /^utc$/i) { }
2 0 elsif ($timezone =~ /^tdt$/i) { }
112 0 2 unless defined $k and $k =~ /^[0|2]$/
120 0 2 unless defined $k and $k =~ /^[1|3]$/
128 0 2 unless defined $k and $k =~ /^[0|2]$/
136 0 2 unless defined $k and $k =~ /^[1|3]$/
181 4 0 if ($yr >= $first and $yr <= $last) { }
0 0 elsif ($yr < 948) { }
0 0 elsif ($yr >= 948) { }
182 0 4 if ($yr % 2) { }
192 0 0 if ($yr >= 2000 and $yr <= 2100)
218 0 8 if ($z < 2299161) { }
231 8 0 $e < 13.5 ? :
232 8 0 $mon > 2.5 ? :
274 0 8 if ($year >= -1000 and $year <= 1000) { }
8 0 elsif ($year > 1000 and $year <= 3000) { }
278 0 0 if ($k == 0) { }
0 0 elsif ($k == 1) { }
0 0 elsif ($k == 2) { }
0 0 elsif ($k == 3) { }
311 2 6 if ($k == 0) { }
2 4 elsif ($k == 1) { }
2 2 elsif ($k == 2) { }
2 0 elsif ($k == 3) { }