blib/lib/Furl/Request.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 14 | 42.8 |
line | true | false | branch |
---|---|---|---|
16 | 0 | 1 | unless (defined $headers) |
20 | 0 | 1 | unless (defined $content) |
40 | 0 | 1 | unless $raw_request =~ s[^(.+) (.+) (HTTP/1.\d+)\s*][] |
52 | 1 | 2 | if (lc $k eq 'host') |
57 | 1 | 0 | unless ($uri =~ /^http/) |
116 | 0 | 0 | defined $self->protocol ? : |
0 | 0 | ref($self->content) =~ qr/\A(?:ARRAY|HASH)\z/ ? : |