blib/lib/App/HTTP_Proxy_IMP/IMP.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 127 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
60 | 0 | 0 | 0 | $factory->get_interface($interface) && $factory->set_interface($interface) |
149 | 0 | 0 | 0 | not defined $clen and $xhdr->{'method'} ne 'CONNECT' |
236 | 0 | 0 | 0 | $met ne 'CONNECT' && !($xhdr->{'url'} =~ m[^internal://]i) && $url =~ s[^internal://][]i |
427 | 0 | 0 | 0 | $pass and defined $orig_clen |
0 | 0 | 0 | $pass and defined $orig_clen and $pass == -1 || $pass >= $orig_clen + $orig_hlen | |
485 | 0 | 0 | 0 | $self->{'eof'}[$dir] && !defined($self->{'ibuf'}[$dir][0][2]) && ($self->{'prepass'}[$dir] == -1 || $self->{'pass'}[$dir] == -1) |
517 | 0 | 0 | 0 | $self->{'eof'}[$dir] && !defined($self->{'ibuf'}[$dir][0][2]) |
741 | 0 | 0 | 0 | $relay and my $fo = $relay->fd($dir) |
893 | 0 | 0 | 0 | $offset and $offset > $eobuf |
897 | 0 | 0 | 0 | $type < 0 and $type == $ibuf->[-1][2] |
0 | 0 | 0 | $type < 0 and $type == $ibuf->[-1][2] and $callback == $ibuf->[-1][3] | |
1025 | 0 | 0 | 0 | ($magic & 15) == 8 and $magic >> 4 <= 7 |
0 | 0 | 0 | ($magic & 15) == 8 and $magic >> 4 <= 7 and unpack('n', substr($buf, 0, 2)) % 31 == 0 | |
1061 | 0 | 0 | 0 | $gzip_csum and length $buf >= $gzip_csum |
line | l | !l | condition |
---|---|---|---|
57 | 0 | 0 | $args // '' |
492 | 0 | 0 | $_->[2] || 'none' |
542 | 0 | 0 | $msg // 'closed by imp' |
605 | 0 | 0 | $fwd{$dir} ||= [] |
785 | 0 | 0 | _create_decoder($decode) || (return $self->{'request'}->fatal("cannot decode content-encoding $decode")) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
161 | 0 | 0 | 0 | $pass == -1 or $pass >= $hlen + $clen |
167 | 0 | 0 | 0 | $prepass == -1 or $prepass >= $hlen + $clen |
291 | 0 | 0 | 0 | $data ne '' or $eof |
361 | 0 | 0 | 0 | $CODE_WITHOUT_RPBODY{$xhdr->{'code'}} or $xhdr->{'code'} < 200 |
386 | 0 | 0 | 0 | $pass == -1 or $pass >= $rpsize |
393 | 0 | 0 | 0 | $prepass == -1 or $prepass >= $rpsize |
427 | 0 | 0 | 0 | $pass == -1 || $pass >= $orig_clen + $orig_hlen |
469 | 0 | 0 | 0 | $data ne '' or $eof |
518 | 0 | 0 | 0 | $data ne '' or $eof |
570 | 0 | 0 | 0 | $offset == -1 or $offset > $self->{'ibuf'}[$dir][0][0] |
585 | 0 | 0 | 0 | $self->{'pass'}[$dir] == -1 or $self->{'prepass'}[$dir] == -1 |
0 | 0 | 0 | $offset == -1 or $offset > $self->{'ibuf'}[$dir][0][0] | |
686 | 0 | 0 | 0 | $self->{'pass'}[$dir] or $self->{'prepass'}[$dir] |
702 | 0 | 0 | 0 | @$ibuf > 1 or $ib0->[2] > 0 |
816 | 0 | 0 | 0 | $encoded_data // $data |
819 | 0 | 0 | 0 | $offset || $eobuf |
834 | 0 | 0 | 0 | $encoded_data // $data |
860 | 0 | 0 | 0 | $encoded_data // $data |
864 | 0 | 0 | 0 | $offset || $eobuf |
871 | 0 | 0 | 0 | $encoded_data // $data |
899 | 0 | 0 | 0 | $offset || $eobuf |
908 | 0 | 0 | 0 | $offset || $eobuf |
947 | 0 | 0 | 0 | pos $hdr // 0 != length $hdr |
981 | 0 | 0 | 0 | $magic != 35615 or $method != Z_DEFLATED() |
0 | 0 | 0 | $magic != 35615 or $method != Z_DEFLATED() or $flags & 224 |