Condition Coverage

blib/lib/App/Memcached/CLI/Main.pm
Criterion Covered Total %
condition 2 55 3.6


and 3 conditions

line !l l&&!r l&&r condition
84 0 2 4 defined $ARGV[0] and looks_like_addr($ARGV[0])
116 0 0 0 do { $command eq 'quit' } && do { print "Nothing to do with $_command\n"; return }
133 0 0 0 -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT))
291 0 0 0 $key and $value
312 0 0 0 $key and $value
0 0 0 $key and $value and $cas
339 0 0 0 $key and defined $number
360 0 0 0 $key and defined $expire
503 0 0 0 $filter and not $key =~ /$filter/
589 0 0 0 $file and -r $file

or 2 conditions

line l !l condition
186 0 0 shift() || ''
467 0 0 $slab->{'age'} || 0
0 0 $slab->{'number'} || 0
0 0 $slab->{'evicted'} || 0
0 0 $slab->{'evicted_time'} || 0
0 0 $slab->{'outofmemory'} || 0
523 0 0 shift() || ''
622 0 0 $num ||= 100
623 0 0 $max ||= 1000000
624 0 0 $min ||= 1
625 0 0 $namespace ||= 'memcached-cli:sample'

or 3 conditions

line l !l&&r !l&&!r condition
402 0 0 0 shift() || $DEFAULT_CACHEDUMP_SIZE