Condition Coverage

blib/lib/Mojo/Redis/Cache.pm
Criterion Covered Total %
condition 10 20 50.0


and 3 conditions

line !l l&&!r l&&r condition
58 3 0 0 &blessed($data) && $data->can('then')
68 0 0 0 $data->[1] and _time() < $data->[1]
85 1 1 1 $val->[1] && $val->[1] < Mojo::Redis::Cache::_time() * 1000

or 2 conditions

line l !l condition
85 2 1 $$STORE{$conn->url}{$key} || []

or 3 conditions

line l !l&&r !l&&!r condition
25 4 1 0 shift() || $self->default_expire
39 0 4 0 shift() || $self->default_expire
40 0 4 0 ref $obj || $obj