Branch Coverage

blib/lib/Tie/Redis/Connection.pm
Criterion Covered Total %
branch 2 16 12.5


line true false branch
13 0 4 eval { do { require Protocol::Redis::XS; 1 } } ? :
24 0 1 if (my $encoding = $args{'encoding'})
26 0 0 unless ref $args{'encoding'}
53 0 0 unless $$self{'_sock'}->syswrite($$self{'_pr'}->encode({'type', '*', 'data', [map({'type', '$', 'data', $_}, $cmd, @args)]}))
61 0 0 unless $$self{'_sock'}->sysread(my $buf, 8192)
66 0 0 if ($$message{'type'} eq '*') { }
0 0 elsif ($$message{'type'} eq '-') { }
69 0 0 wantarray ? :