blib/lib/Mojo/Redis.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 18 | 66.6 |
line | true | false | branch |
---|---|---|---|
37 | 0 | 0 | @_ ? : |
42 | 5 | 7 | unless @_ % 2 and ref $_[0] ne "HASH" |
44 | 5 | 2 | unless &blessed($url) and $url->isa("Mojo::URL") |
69 | 0 | 5 | if $conn and $conn->is_connected |
72 | 4 | 1 | $conn ? : |
79 | 0 | 0 | if $conn->is_connected |
5 | 5 | unless $self->{'queue'} | |
88 | 1 | 1 | if $conn->is_connected and $conn->url eq $self->url and $conn->ioloop eq "Mojo::IOLoop"->singleton |
94 | 0 | 15 | unless ($self->{'pid'} //= $$) eq $$ |