Branch Coverage

lib/LWP/CurlLog.pm
Criterion Covered Total %
branch 13 26 50.0


line true false branch
29 0 1 if (not $opts{'file'}) { }
34 0 1 if ($expanded_file =~ m[^~/])
38 0 1 unless open $opts{'fh'}, ">>", $expanded_file
71 0 1 if ($url =~ /[=&;?]/) { }
77 1 0 if ($opts{'options'})
81 0 1 if ($method and $method ne 'GET' || length $content)
86 1 0 if ($name =~ /^(Content-Length|User-Agent)$/i)
94 0 1 if (defined $content and length $content)
107 0 1 if ($opts{'response'})
110 0 0 if (eval { do { $res->isa('HTTP::Response') } }) { }
124 0 1 if ($opts{'timing'})
151 1 7 if ($package =~ /^$test_package($|::)/)
158 1 0 unless ($opts{'trace'})