Branch Coverage

blib/lib/Dancer2/Plugin/Cache/CHI.pm
Criterion Covered Total %
branch 11 14 78.5


line true false branch
62 0 5 unless $dsl->dancer_app->config->{'plugins'}{'Cache::CHI'}
65 0 5 if defined $namespace
72 1 4 if exists $setting{'honor_no_cache'}
89 24 9 unless my $cached = cache($dsl)->get(&$cache_page_key_generator($dsl))
92 5 4 if ($honor_no_cache)
101 2 3 if grep {eval { do { $req->header($_) eq 'no-cache' } };} 'Cache-Control', 'Pragma'
115 7 0 ref $cached eq 'HASH' ? :