blib/lib/Bitcoin/RPC/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 30 | 33.3 |
line | true | false | branch |
---|---|---|---|
37 | 1 | 1 | if $method eq "DESTROY" |
44 | 0 | 1 | if ($self->ssl eq 1) |
49 | 0 | 1 | if ($self->cookie) { } |
1 | 0 | elsif ($self->user) { } | |
59 | 0 | 1 | if ($self->wallet) |
72 | 0 | 1 | if ($self->debug) |
73 | 0 | 0 | unless ($DEBUG_DUMPED) |
81 | 0 | 1 | if ($self->verify_hostname eq 0) |
87 | 0 | 1 | ref $_[0] ? : |
95 | 1 | 0 | unless (eval { do { $res = $client->call($url, $obj) } }) |
100 | 0 | 0 | if ($res) |
101 | 0 | 0 | if ($res->is_error) |
118 | 0 | 0 | unless open COOKIE, $_[0] |
120 | 0 | 0 | if ($failed) |
126 | 0 | 0 | unless (defined $cookie and $cookie =~ /:/) |