Branch Coverage

blib/lib/Text/APL/WithCaching.pm
Criterion Covered Total %
branch 8 10 80.0


line true false branch
12 2 1 if (my $cache = $self->_load_cache($context))
13 1 1 if ($cache->{'id'} ne $context->id)
39 0 3 unless defined $context->name
41 1 2 unless exists $self->{'cache'}{$context->name}
50 0 1 unless defined $context->name