Branch Coverage

blib/lib/MojoX/UserAgent/Throttler.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
44 6 6 if (3 == @_ and $cb)
45 1 5 if ($IsDestroying{$self}) { }
53 10 1 ref $_[-1] eq 'CODE' ? :
55 5 1 if ($cb) { }
56 1 4 if ($IsDestroying{$self}) { }
74 0 4 unless delete $Delayed{$self}
89 1 0 if ($close and not $res->code and not $res->error) { }
0 0 elsif ($res->is_error) { }