| blib/lib/CouchDB/Client.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 7 | 18 | 38.8 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 0 | 2 | @_ == 1 ? : |
| 22 | 2 | 0 | if ($opt{'uri'}) { } |
| 24 | 0 | 2 | unless $self{'uri'} =~ m[/$] |
| 40 | 2 | 0 | if $@ |
| 47 | 0 | 2 | if $$res{'success'} |
| 60 | 0 | 0 | if $$res{'success'} |
| 73 | 0 | 0 | grep({$_ eq $name;} @{$self->listDBNames;}) ? : |
| 84 | 0 | 2 | if (ref $content) |
| 94 | 0 | 2 | if ($res->is_success) |