Branch Coverage

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


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