blib/lib/HTTP/Request.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 21 | 85.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
23 | 5 | 1 | 1 | $^W and not defined $str |
25 | 2 | 2 | 3 | defined $str and $str =~ s/^(.*)\n// |
72 | 1 | 1 | 4 | $uri->can("scheme") and $uri->can("canonical") |
78 | 0 | 0 | 0 | $@ and not $@ =~ /Missing base argument/ |
line | l | !l | condition |
---|---|---|---|
121 | 14 | 1 | $self->method || '-' |
134 | 1 | 2 | $self->method || '-' |
1 | 2 | $self->uri || '-' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 1 | 1 | 6 | ref $uri eq "HASH" or ref $uri eq "ARRAY" |