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
34 1 9 5 defined $ARGV[0] and looks_like_addr($ARGV[0])
37 1 6 8 defined $ARGV[0] and &first(sub { $_ eq $ARGV[0]; } , @MODES)

or 2 conditions

line l !l condition
119 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
62 5 0 10 $params{'addr'} || $opts{'addr'}
2 1 0 $params{'mode'} || $opts{'mode'} || $DEFAULT_MODE