Branch Coverage

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


line true false branch
17 1 0 unless $size
20 0 1 if (defined $proxy)
28 0 1 unless ($scheme eq 'news' or $scheme eq 'nntp')
35 0 0 unless ($method eq 'GET' or $method eq 'HEAD' or $method eq 'POST')
44 0 1 if ($is_art and $method eq 'POST')
57 0 1 unless $nntp
60 0 1 if ($nntp->status != 2)
76 0 1 if ($method eq 'POST')
85 0 1 unless ($is_art)
86 0 0 unless ($nntp->group($groupart))
94 0 0 if ($method eq 'GET' and $response->is_success)
102 0 1 $method eq 'HEAD' ? :
104 1 0 unless ($art)
116 0 0 if (/^\s+$/) { }
0 0 elsif (/^(\S+):\s*(.*)/) { }
0 0 elsif (/^\s+(.*)/) { }
120 0 0 if $key
124 0 0 unless $key
132 0 0 if $key
135 0 0 unless $response->header('Content-Type')
139 0 0 if @$art