| blib/lib/Plack/Middleware/Debug/Redis.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 18 | 44.4 |
| line | true | false | branch |
|---|---|---|---|
| 25 | 0 | 2 | if $self->password |
| 29 | 0 | 2 | if ($$instance{'unix'}) |
| 30 | 0 | 0 | unless -e $$instance{'thru'} and -S _ |
| 33 | 0 | 2 | $$instance{'unix'} ? : |
| 39 | 0 | 2 | if $@ |
| 50 | 0 | 2 | unless $instance |
| 53 | 0 | 2 | if ($instance =~ m[^(unix:)?(/.+)$]i) |
| 58 | 2 | 0 | if ($instance =~ /^((tcp|inet):)?(.+)$/i) |
| 61 | 2 | 0 | $port && ($port > 0 && $port <= 65535) ? : |