blib/lib/Plack/App/GitSmartHttp.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 9 | 77.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
134 | 2 | 0 | 2 | exists $req->env->{'HTTP_CONTENT_ENCODING'} and $req->env->{'HTTP_CONTENT_ENCODING'} =~ /^(?:x-)?gzip$/ |
304 | 3 | 4 | 4 | $check_content_type and $req->content_type ne sprintf('application/x-git-%s-request', $rpc) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
114 | 19 | 1 | 0 | $self->root || `pwd` |