Branch Coverage

blib/lib/Zabbix/Check/Redis.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
40 0 0 unless defined $bind
41 0 0 if ($bind =~ /^([^:]*):(\d*)$/)
45 0 0 if $1 ne ''
47 0 0 if $2 ne ''
56 0 0 unless $redis_cli
66 0 0 if (/^#(.*)/)
72 0 0 unless defined $topic and defined $key and defined $val
84 0 0 $redis_server ? :
95 0 0 if (/^(\d*)\s+\Q$redis_server\E\ (\S+)/)
107 0 0 if ($redis_server)
110 0 0 if defined $bind
113 0 0 $? == 0 ? :
122 0 0 unless $key
125 0 0 if defined $info->{$key}