blib/lib/Test/Mojo/Plack.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 28 | 35.7 |
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) |
137 | 1 | 0 | 0 | not my $ok = !$err->{'message'} || $err->{'code'} and $err |
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 || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
126 | 1 | 0 | 0 | $body_str //= $body |
137 | 1 | 0 | 0 | !$err->{'message'} || $err->{'code'} |