Branch Coverage

blib/lib/MojoX/Redis.pm
Criterion Covered Total %
branch 0 32 0.0


line true false branch
56 0 0 unless &List::Util::first(sub { $_ eq $cmd; } , @COMMANDS)
62 0 0 if (ref $cb ne 'CODE') { }
76 0 0 unless my $loop = $self->ioloop
79 0 0 if $$self{'_connection'}
87 0 0 if ($self->connected)
157 0 0 if (not $cb and ref $args eq 'CODE') { }
0 0 elsif (not ref $args) { }
174 0 0 unless $$self{'_connection'}
205 0 0 unless $protocol
214 0 0 if (my $id = $$self{'_connection'} and not $$self{'_connecting'})
219 0 0 if $self->encoding
237 0 0 if ($type ne '*' and $self->encoding and $data)
241 0 0 if ($type eq '-') { }
0 0 elsif ($type ne '*') { }
265 0 0 if $cb
276 0 0 if $cb