Branch Coverage

blib/lib/Time/Seconds.pm
Criterion Covered Total %
branch 22 22 100.0


line true false branch
51 1 20 unless defined $val
59 1 22 if (UNIVERSAL::isa($rhs, 'Time::Seconds')) { }
1 21 elsif (ref $rhs) { }
66 3 19 if ($reverse)
86 1 2 if UNIVERSAL::isa($rhs, 'Time::Seconds')
99 1 9 if UNIVERSAL::isa($rhs, 'Time::Seconds')
151 10 4 if 1 != $number
158 2 3 if ($s < 0)
162 4 1 if ($s >= 60)
163 3 1 if ($s >= 3600)
164 2 1 if ($s >= 86400)