Branch Coverage

blib/lib/Dancer/Plugin/MemcachedFast.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
28 0 0 unless ($ok_to_compress)
37 0 0 unless $cache->get($_[0]) or do { my $ret; $cache->set($_[0], $ret = ref $_[1] eq 'CODE' ? $_[1]->() : $_[1], defined $_[2] ? $_[2] : $default_timeout); $ret }
39 0 0 ref $_[1] eq 'CODE' ? :
0 0 defined $_[2] ? :
50 0 0 if $#_ == 0 and not ref $_[0]
51 0 0 ref $_ eq 'ARRAY' ? :
0 0 if ref $_
55 0 0 if $#_ == 0 and not ref $_[0]
56 0 0 ref $_ eq 'ARRAY' ? :
0 0 if ref $_
60 0 0 ref $_[1] eq 'CODE' ? :
0 0 defined $_[2] ? :
0 0 if ref $_[0] ne 'ARRAY'
67 0 0 ref $_->[1] eq 'CODE' ? :
0 0 defined $_->[2] ? :
76 0 0 ref $_[1] eq 'CODE' ? :
0 0 defined $_[2] ? :
0 0 if ref $_[0] ne 'ARRAY'
83 0 0 ref $_->[1] eq 'CODE' ? :
0 0 defined $_->[2] ? :
92 0 0 ref $_[1] eq 'CODE' ? :
0 0 defined $_[2] ? :
0 0 if ref $_[0] ne 'ARRAY'
99 0 0 ref $_->[1] eq 'CODE' ? :
0 0 defined $_->[2] ? :
108 0 0 if $#_ == 0 and not ref $_[0]
109 0 0 ref $_ && ref $_ eq 'ARRAY' ? :
113 0 0 if $#_ == 1 and not ref $_[0] and not ref $_[1]
118 0 0 if $#_ == 1 and not ref $_[0] and not ref $_[1]
123 0 0 if $#_ <= 2 and scalar grep({not ref $_;} @_)
128 0 0 if $#_ <= 2 and scalar grep({not ref $_;} @_)