Condition Coverage

blib/lib/Mojo/Redis.pm
Criterion Covered Total %
condition 17 25 68.0


and 3 conditions

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

or 2 conditions

line l !l condition
60 0 0 $tls_args{'tls'} //= 1
97 6 4 $self->{'queue'} ||= []

or 3 conditions

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