Branch Coverage

blib/lib/Cache/Entry.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
49 0 242 unless ref $self
103 0 247 unless (defined $data)
107 0 247 if ref $data
109 244 3 if ($#_ < 1) { }
116 1 246 if (defined $expiry and $expiry == 0)
139 14 3 if (defined $result)
141 13 1 unless $validate_callback
142 1 0 if &$validate_callback($self)
145 1 2 unless my $load_callback = $$cache{'load_callback'}
149 2 0 if defined $result
200 1 1 if (defined $expiry and $expiry == 0)
244 8 3 if ($mode) { }
252 11 0 if ($#_ < 1) { }
316 0 1 unless ref $data
330 0 1 unless defined $data