Branch Coverage

blib/lib/App/Memcached/CLI/Util.pm
Criterion Covered Total %
branch 11 16 68.7


line true false branch
26 0 6 if is_unixsocket($string)
29 2 4 if ($hostname =~ /([^\s:]+):\d+/)
32 4 2 if gethostbyname $hostname
39 1 10 unless $base_addr
40 0 10 if is_unixsocket($base_addr)
41 5 5 if $base_addr =~ /([^\s:]+):\d+/
47 0 0 unless $App::Memcached::CLI::DEBUG
55 0 16 if -e $file and -S $file