Branch Coverage

blib/lib/DBIx/SearchBuilder/Record/Cachable.pm
Criterion Covered Total %
branch 12 24 50.0


line true false branch
92 0 0 if $rvalue
112 2 2 if ($cache_key and $self->_fetch($cache_key))
119 2 0 if ($rvalue)
162 0 0 unless my $cache_key = $self->_primary_RecordCache_key
177 2 2 unless my $data = $self->_RecordCache->fetch($cache_key)
191 0 2 unless my $key = $self->_primary_RecordCache_key
216 0 4 do { ref $value eq 'HASH' } ? :
4 0 defined $value ? :
221 0 0 defined $value->{'value'} ? :
243 2 2 if $self->{'_SB_Record_Primary_RecordCache_key'}
249 0 2 unless defined $value
263 0 4 unless $key