Condition Coverage

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


and 2 conditions

line l !l condition
133 0 0 $#_ <= 2 and scalar grep({not ref $_;} @_)
141 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]
110 0 0 0 ref $_ && ref $_ eq 'ARRAY'
116 0 0 0 $#_ == 1 and not ref $_[0]
0 0 0 $#_ == 1 and not ref $_[0] and not ref $_[1]
124 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
40 0 0 0 $cache->get($_[0]) or do { my $ret; $cache->set($_[0], $ret = ref $_[1] eq 'CODE' ? $_[1]->() : $_[1]); $ret }