Condition Coverage

blib/lib/Plack/App/unAPI.pm
Criterion Covered Total %
condition 16 21 76.1


and 3 conditions

line !l l&&!r l&&r condition
34 1 15 0 $route and $$route{'app'}
40 11 2 2 $id eq '' and not $$route{'always'} // $self->formats->{'_'}{'always'}
162 0 0 11 ref $res && ref $res eq 'ARRAY' && (@$res == 3 || @$res == 2) && $$res[0] =~ /^\d+$/ && $$res[0] >= 100 && ref $$res[1] && ref $$res[1] eq 'ARRAY'

or 2 conditions

line l !l condition
23 18 5 $req->param('format') // ''
24 16 7 $req->param('id') // ''
96 5 0 'Plack::Request'->new($env)->param('id') // ''

or 3 conditions

line l !l&&r !l&&!r condition
30 6 1 16 $format eq '' or $format eq '_'
40 2 0 2 $$route{'always'} // $self->formats->{'_'}{'always'}