Condition Coverage

blib/lib/App/Memcached/Tool/CLI.pm
Criterion Covered Total %
condition 10 22 45.4


and 3 conditions

line !l l&&!r l&&r condition
32 1 10 4 defined $ARGV[0] and looks_like_addr($ARGV[0])
35 1 5 9 defined $ARGV[0] and &first(sub { $_ eq $ARGV[0]; } , MODES())

or 2 conditions

line l !l condition
117 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

or 3 conditions

line l !l&&r !l&&!r condition
60 4 0 11 $params{'addr'} || $opts{'addr'}
2 1 0 $params{'mode'} || $opts{'mode'} || DEFAULT_MODE()