Branch Coverage

blib/lib/LWP/Protocol/nntp.pm
Criterion Covered Total %
branch 10 42 23.8


line true false branch
19 1 0 unless $size
22 0 1 if (defined $proxy)
30 0 1 unless ($scheme eq 'news' or $scheme eq 'nntp')
37 0 0 unless ($method eq 'GET' or $method eq 'HEAD' or $method eq 'POST')
46 0 1 if ($is_art and $method eq 'POST')
59 0 1 unless $nntp
62 0 1 if ($nntp->status != 2)
78 0 1 if ($method eq 'POST')
87 0 1 unless ($is_art)
88 0 0 unless ($nntp->group($groupart))
96 0 0 if ($method eq 'GET' and $response->is_success)
104 0 1 $method eq 'HEAD' ? :
106 1 0 unless ($art)
118 0 0 if (/^\s+$/) { }
0 0 elsif (/^(\S+):\s*(.*)/) { }
0 0 elsif (/^\s+(.*)/) { }
122 0 0 if $key
126 0 0 unless $key
134 0 0 if $key
137 0 0 unless $response->header('Content-Type')
141 0 0 if @$art