blib/lib/PrankCall.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 30 | 70.0 |
line | true | false | branch |
---|---|---|---|
22 | 1 | 0 | if $params{'user_agent'} |
30 | 3 | 2 | if ($params{'host'}) |
32 | 0 | 3 | unless $host =~ /^http/ |
73 | 0 | 1 | unless $$self{'_last_req'} |
99 | 1 | 2 | if ($body) |
115 | 0 | 6 | unless $request_path =~ m[^/] |
116 | 4 | 2 | if $req->protocol |
120 | 6 | 0 | if ($req->headers) |
124 | 2 | 4 | if ($req->content) |
146 | 1 | 5 | $cache_socket && $$self{'_socket'} ? : |
158 | 2 | 4 | if ($cache_socket) { } |
159 | 1 | 1 | unless $$self{'_socket'} |
164 | 1 | 5 | if ($callback) |
169 | 0 | 0 | if ($callback) |
170 | 0 | 0 | if isweak $self |