Branch Coverage

blib/lib/Net/HTTP/Spore/Role/Middleware.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
20 41 2 unless &blessed($mw)
30 1 40 if ($mw =~ /^\+/) { }
40 0 elsif (not $mw =~ /Net\:\:HTTP\:\:Spore\:\:Middleware/) { }
43 1 42 unless $mw
52 1 43 if not $cond or ref $cond ne 'CODE'
54 2 41 if (ref $mw eq 'CODE') { }