blib/lib/Konfidi/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 20 | 24 | 83.3 |
line | true | false | branch |
---|---|---|---|
69 | 1 | 2 | unless $class |
91 | 7 | 3 | if (@_) |
93 | 5 | 2 | if ($$self{'server'} and substr($$self{'server'}, -1, 1) eq '/') |
108 | 1 | 1 | if (@_) |
123 | 1 | 5 | unless $$self{'server'} |
129 | 5 | 0 | if (defined $$self{'strategy'}) |
132 | 5 | 0 | if (defined $source) |
135 | 5 | 0 | if (defined $sink) |
138 | 5 | 0 | if (defined $topic) |
150 | 4 | 1 | if ($res->is_success) { } |
153 | 1 | 3 | if ($res->header('Content-Type') ne 'text/plain') |
164 | 1 | 2 | if ($$response{'Error'}) { } |