lib/Mojolicious/Plugin/CHI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 14 | 64.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
52 | 0 | 0 | 17 | ref $cache_param and ref $cache_param eq 'HASH' |
line | l | !l | condition |
---|---|---|---|
25 | 2 | 0 | $caches //= {} |
36 | 1 | 9 | delete $param->{'chi_class'} // 'CHI' |
39 | 3 | 7 | delete $param->{'namespaces'} // 1 |
92 | 21 | 25 | shift() // 'default' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
62 | 0 | 8 | 0 | $cache_param->{'namespace'} //= $name |