Condition Coverage

blib/lib/Test/Mojo/Plack.pm
Criterion Covered Total %
condition 10 28 35.7


and 3 conditions

line !l l&&!r l&&r condition
55 1 0 0 $url->scheme && $url->scheme eq 'https'
94 0 1 0 not defined $env->{'HTTP_HOST'} and $url->host
114 0 1 0 defined $body and &blessed($body)
139 1 0 0 not my $ok = !$err->{'message'} || $err->{'code'} and $err

or 2 conditions

line l !l condition
55 1 0 $url->path || '/'
1 0 $url->query || ''
1 0 join('?', $url->path, $url->query) || '/'
99 0 1 $env->{'HTTP_HOST'} ||= 'localhost'
117 0 0 $line || ''

or 3 conditions

line l !l&&r !l&&!r condition
128 1 0 0 $body_str //= $body
139 1 0 0 !$err->{'message'} || $err->{'code'}