Branch Coverage

lib/LWP/CurlLog.pm
Criterion Covered Total %
branch 10 20 50.0


line true false branch
20 0 1 if (not $opts{'file'}) { }
25 0 1 if ($file2 =~ m[^~/])
29 0 1 unless open $opts{'fh'}, '>>', $file2
45 0 1 if ($url =~ /[=&;?]/) { }
51 1 0 if ($opts{'options'})
54 0 1 if ($request->method and $request->method ne 'GET' || $request->content_length)
58 1 0 if ($header =~ /^(Content-Length|User-Agent)$/i)
65 0 1 if ($request->header('Content-Length'))
78 0 1 if ($opts{'response'})
84 0 1 if ($opts{'timing'})