Condition Coverage

lib/Mojolicious/Plugin/CHI/chi.pm
Criterion Covered Total %
condition 13 18 72.2


and 2 conditions

line l !l condition
20 0 2 print $self->usage and return
44 0 2 print _unknown($cache) and return
72 0 2 print _unknown($cache) and return

or 2 conditions

line l !l condition
31 5 0 $caches->{$_}->short_driver_name || '[UNKNOWN]'
39 4 2 shift() || 'default'
65 5 3 shift() || 'default'

or 3 conditions

line l !l&&r !l&&!r condition
27 3 3 8 $command eq 'purge' or $command eq 'clear'
5 3 0 $command eq 'remove' or $command eq 'expire'