Condition Coverage

blib/lib/Dancer/Plugin/MemcachedFast.pm
Criterion Covered Total %
condition 0 31 0.0


and 2 conditions

line l !l condition
123 0 0 $#_ <= 2 and scalar grep({not ref $_;} @_)
128 0 0 $#_ <= 2 and scalar grep({not ref $_;} @_)

and 3 conditions

line !l l&&!r l&&r condition
50 0 0 0 $#_ == 0 and not ref $_[0]
55 0 0 0 $#_ == 0 and not ref $_[0]
108 0 0 0 $#_ == 0 and not ref $_[0]
109 0 0 0 ref $_ && ref $_ eq 'ARRAY'
113 0 0 0 $#_ == 1 and not ref $_[0]
0 0 0 $#_ == 1 and not ref $_[0] and not ref $_[1]
118 0 0 0 $#_ == 1 and not ref $_[0]
0 0 0 $#_ == 1 and not ref $_[0] and not ref $_[1]

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 0 $cache->get($_[0]) or do { my $ret; $cache->set($_[0], $ret = ref $_[1] eq 'CODE' ? $_[1]->() : $_[1], defined $_[2] ? $_[2] : $default_timeout); $ret }