Branch Coverage

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


line true false branch
60 0 5 unless $dsl->app->config->{'plugins'}{'Cache::CHI'}
63 0 5 if defined $namespace
70 1 4 if exists $setting{'honor_no_cache'}
87 24 9 unless my $cached = cache($dsl)->get(&$cache_page_key_generator($dsl))
90 5 4 if ($honor_no_cache)
99 2 3 if grep {eval { do { $req->header($_) eq 'no-cache' } };} 'Cache-Control', 'Pragma'
113 7 0 ref $cached eq 'HASH' ? :