Condition Coverage

blib/lib/Mojo/Redis.pm
Criterion Covered Total %
condition 18 23 78.2


and 3 conditions

line !l l&&!r l&&r condition
42 4 1 7 @_ % 2 and ref $_[0] ne "HASH"
44 5 0 2 &blessed($url) and $url->isa("Mojo::URL")
69 1 4 0 $conn and $conn->is_connected
88 8 1 1 $conn->is_connected and $conn->url eq $self->url
9 0 1 $conn->is_connected and $conn->url eq $self->url and $conn->ioloop eq "Mojo::IOLoop"->singleton

or 2 conditions

line l !l condition
87 6 4 $self->{'queue'} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
51 5 11 0 $args{'ioloop'} ||= "Mojo::IOLoop"->singleton
94 11 4 0 $self->{'pid'} //= $$