Branch Coverage

blib/lib/Cache/Memcached/Mock.pm
Criterion Covered Total %
branch 21 24 87.5


line true false branch
20 1 1 if (exists $MEMCACHE_STORAGE{$key})
50 0 3 unless (exists $MEMCACHE_STORAGE{$key})
76 19 9 if (exists $MEMCACHE_STORAGE{$key})
82 2 17 if (defined $expiry_time and time > $expiry_time) { }
86 0 17 $$struct[2] ? :
99 1 1 unless (exists $MEMCACHE_STORAGE{$key})
110 0 18 if (ref $value)
116 1 17 if (defined $value and &bytes::length($value) > $size_limit)
120 2 15 if ($expiry_time) { }
172 2 16 unless exists $MEMCACHE_STORAGE{$key}
174 9 7 unless defined $offset
189 1 4 $result <= 0 ? :