Branch Coverage

blib/lib/Test/AnyEvent/Time.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
20 0 3 if (@_)
47 1 42 unless (defined $cb)
50 1 41 if (ref $cb ne 'CODE')
56 25 16 if (defined $timeout)
66 13 28 if ($timed_out)
74 5 17 if (not defined $desc and defined $timeout and not looks_like_number $timeout)
78 10 30 if (not defined $op && defined $cb && defined $cmp_time or ref $cb ne 'CODE')
84 0 30 if (not defined $time) { }
8 22 elsif ($time < 0) { }