Branch Coverage

blib/lib/Cache/Cascade.pm
Criterion Covered Total %
branch 20 28 71.4


line true false branch
11 0 52 unless $args{$1}
12 7 7 unless $head
21 21 unless $head
14 0 if (my $res = $cache->entry(@args))
1 0 if (my $res = $cache->exists(@args))
0 1 if (my $res = $cache->load_callback(@args))
0 1 if (my $res = $cache->validate_callback(@args))
40 2 6 if ($self->float_hits) { }
44 5 5 if (defined(my $res = $cache->get($key)))
55 0 6 unless $head
57 2 4 if (defined(my $res = $head->get($key))) { }
4 0 elsif (@tail) { }
60 4 0 if (defined(my $res = $self->get_and_float_result($key, @tail)))
72 209 1 if ($self->set_deep) { }