Branch Coverage

blib/lib/IO/Socket/RedisPubSub.pm
Criterion Covered Total %
branch 2 18 11.1


line true false branch
23 0 0 if $start =~ /^:(\d+)/
24 0 0 if $start =~ /^-(\d+)/
25 0 0 if $start =~ /^\+(\d+)/
26 0 0 if ($start =~ /^\$(\d+)/)
27 0 0 if $1 == -1
33 0 0 if ($start =~ /^\*(\d+)/)
34 0 0 if $1 == -1
87 1 0 unless $$self{'connection'} and $$self{'connection'}->connected
96 0 1 if $conn and $conn->connected