Branch Coverage

blib/lib/Mojolicious/Plugin/MountPSGI/Proxy.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
16 5 3 if (ref $plack_res eq 'ARRAY')
24 0 3 unless ref $plack_res eq 'CODE'
33 1 2 unless $streaming
37 1 1 $chunked ? :
53 0 8 unless open my $input, '<', \$body
65 7 9 unless exists $headers{"HTTP_$key"}
71 1 7 if ($rewrite)
72 1 0 if $path =~ s/\Q$rewrite\E//
73 1 0 unless $path =~ m[^/]
110 6 2 if (@$psgi_res == 3) { }