Branch Coverage

blib/lib/Date/Easy/Date.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
29 13 264 if ($date =~ /^-?\d+$/) { }
19 245 elsif (not $date =~ /\d/) { }
31 6 7 if ($date < 29000000 and $date >= 10000000)
41 1 18 unless defined $time
48 153 92 if (defined $y) { }
56 17 75 unless defined $time
99 275 1846 if (@_ == 3) { }
107 7 1839 unless defined $time
108 1739 107 if (my $conv_class = &blessed($time)) { }
110 1737 2 if ($time->isa('Time::Piece')) { }
128 3 2116 unless defined $truncated_date