Condition Coverage

blib/lib/News/Search.pm
Criterion Covered Total %
condition 0 25 0.0


and 3 conditions

line !l l&&!r l&&r condition
194 0 0 0 defined $ENV{'DEBUG'} and $ENV{'DEBUG'} eq '1'
286 0 0 0 $first == 0 and $first == $last
375 0 0 0 $i == 0 and defined $$args{'body'}
400 0 0 0 $headmatched == 1 && $bodymatched == 1

or 2 conditions

line l !l condition
216 0 0 $nntp->list || die('Cannot list newsgroups')
296 0 0 $nntp->next or last

or 3 conditions

line l !l&&r !l&&!r condition
195 0 0 0 'Net::NNTP'->new($nntp_server, 'Debug', 'On', 'Timeout', 10) || croak("Cant connect to News Server: $@")
198 0 0 0 'Net::NNTP'->new($nntp_server) || croak("Cant connect to News Server: $@")
380 0 0 0 $nntp->bodyfh || Carp::shortmess("Can't get body filehandle of article\n")