| blib/lib/Mojo/CouchDB.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 5 | 10 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 18 | 0 | 2 | if exists $self->dbs->{$db_name} |
| 32 | 0 | 2 | unless $str |
| 34 | 0 | 2 | if substr($str, -1) eq "/" |
| 37 | 0 | 2 | unless $url->protocol =~ /^http(?:s)?$/u |
| 39 | 2 | 0 | if $username and $password |