| blib/lib/Net/HTTP/Spore/Role/Middleware.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 12 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 39 | 2 | unless &blessed($mw) |
| 30 | 1 | 38 | if ($mw =~ /^\+/) { } |
| 38 | 0 | elsif (not $mw =~ /Net\:\:HTTP\:\:Spore\:\:Middleware/) { } | |
| 43 | 1 | 40 | unless $mw |
| 52 | 1 | 41 | if not $cond or ref $cond ne 'CODE' |
| 54 | 2 | 39 | if (ref $mw eq 'CODE') { } |