Condition Coverage

blib/lib/Mojolicious/Plugin/CHI/Route.pm
Criterion Covered Total %
condition 10 17 58.8


and 3 conditions

line !l l&&!r l&&r condition
55 3 0 2 $c->stash('status') and $c->stash('status') != 200

or 2 conditions

line l !l condition
13 2 0 $param ||= {}
26 2 0 $param->{'namespace'} // 'default'
39 1 0 $param->{'expires_in'} // '6 hours'
44 0 1 $param->{'key'} // sub { return (shift())->req->url->to_abs->to_string; }

or 3 conditions

line l !l&&r !l&&!r condition
55 0 3 2 $c->res->is_error or $c->stash('status') and $c->stash('status') != 200
75 1 2 0 $c->stash('chi.r.expires') // $expires_in