| blib/lib/WWW/RabbitMQ/Broker.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 2 | 22 | 9.0 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 0 | 1 | ref $_[0] ? : |
| 21 | 0 | 1 | unless ($$self{'username'} and $$self{'password'} and $$self{'host'}) |
| 24 | 0 | 0 | unless $$self{$key} |
| 44 | 0 | 0 | if $key eq 'DESTROY' |
| 47 | 0 | 0 | if (want('OBJECT') or want('VOID')) |
| 51 | 0 | 0 | ref $_[0] ? : |
| 108 | 0 | 0 | if ($code == 200) |
| 113 | 0 | 0 | if ($code == 204) |
| 117 | 0 | 0 | if ($code == 401) |
| 121 | 0 | 0 | if ($code == 404) |
| 125 | 0 | 0 | if ($code == 500 and $content =~ /timeout/) { } |