Branch Coverage

blib/lib/Catalyst/Model/Memcached.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
25 0 1 unless $self->{'primary_key'}
26 1 0 if ${ref($self) . '::ttl';}
34 2 0 if (ref $hash ne 'HASH' or not $$hash{$self->{'primary_key'}})
42 2 1 if (ref $hash ne 'HASH' or not $$hash{$self->{'primary_key'}})
50 2 0 if (ref $hash ne 'HASH' or not $$hash{$self->{'primary_key'}})
54 0 0 unless ($res)
63 2 0 if (ref $hash ne 'HASH' or not $$hash{$self->{'primary_key'}})
72 2 0 if (ref $hash ne 'HASH' or not $$hash{$self->{'primary_key'}})
83 0 1 if ref $pk eq 'ARRAY'
90 0 1 if ref $pk eq 'ARRAY'