Branch Coverage

blib/lib/Test/Recent.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
33 0 57 unless defined $str
34 31 26 if blessed $str and $str->isa('DateTime')
40 5 21 if ($str =~ /$EPOCH/)
58 14 39 if (defined $now)
60 0 14 unless (defined $now)
67 39 14 unless defined $now
69 0 53 unless defined $now
76 1 43 unless defined $value
79 1 42 unless defined $time
89 4 38 if (ref $durations eq 'ARRAY') { }
97 39 45 unless (blessed $duration and $duration->isa('DateTime::Duration'))
108 10 32 if $ahead < $time
109 6 26 if $time < $ago
124 7 4 if $ok