Branch Coverage

blib/lib/Mojo/Redis/Cursor.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
19 0 0 ref $_[-1] eq 'CODE' ? :
21 0 0 $cb ? :
25 0 0 unless ($cb)
28 0 0 unless $_[0]
29 0 0 if $err
37 0 0 if $self->{'finished'}
51 0 0 if $self->{'finished'}
57 0 0 ref $_[-1] eq 'CODE' ? :
61 0 0 $cb ? :
0 0 $cb ? :
0 0 unless my $p = $self->_next_p($cb ? $self->connection : $self->redis->_blocking_connection)
65 0 0 unless ($cb)
68 0 0 if $err
87 0 0 unless $self->{'process'} = "Mojo::Redis::Cursor"->can(lc "_process_$cmd->[0]")
89 0 0 if ($cmd->[0] eq 'keys') { }
0 0 elsif ($cmd->[0] eq 'smembers') { }
0 0 elsif ($cmd->[0] =~ /^(hgetall|hkeys)/u) { }
90 0 0 $cmd->[1] ? :
99 0 0 $cmd->[0] =~ /^scan$/iu ? :
105 0 0 if $self->{'finished'}
111 0 0 unless $res->[0]
127 0 0 unless my $redis = $self->{'redis'} and my $conn = $self->{'connection'}