Branch Coverage

blib/lib/PAGI/App/WrapCGI.pm
Criterion Covered Total %
branch 9 22 40.9


line true false branch
38 0 2 if $scope->{'type'} ne "http"
59 0 0 if ($key eq 'CONTENT_TYPE') { }
0 0 elsif ($key eq 'CONTENT_LENGTH') { }
72 0 2 if $event->{'type'} ne "http.request"
74 2 0 unless $event->{'more'}
81 0 2 unless (defined $pid)
91 1 1 if ($pid == 0)
93 0 1 if (length $body)
97 0 0 unless exec $script
112 0 1 unless $name
113 0 1 if (lc $name eq 'status') { }