Condition Coverage

blib/lib/Mail/POP3Client.pm
Criterion Covered Total %
condition 0 103 0.0


and 2 conditions

line l !l condition
378 0 0 $me->Message("could not connect SSL socket [$me->{'HOST'}, $me->{'PORT'}]: $!") and return 0
389 0 0 $me->Message("could not connect socket [$me->{'HOST'}, $me->{'PORT'}]: $!") and return 0
399 0 0 $me->Message("Could not read") and return 0
439 0 0 $capa =~ /^SASL.*?\sCRAM-MD5\b/ and $has_cram_md5 = 1
493 0 0 $me->Message("APOP failed: $line") and return 0
529 0 0 $me->Message("AUTH CRAM-MD5 failed: $line") and return 0
559 0 0 $me->Message("USER failed: $line") and $me->State("AUTHORIZATION") and return 0
571 0 0 $me->Message("PASS failed: $line") and $me->State("AUTHORIZATION") and return 0
604 0 0 $me->Message("Bad return from TOP: $line") and return
639 0 0 $me->Message("Bad return from RETR: $line") and return
680 0 0 $me->Message("Bad return from RETR: $line") and return 0
716 0 0 $me->Message("Bad return from RETR: $line") and return
767 0 0 $me->Message("Bad return from RETR: $line") and return
811 0 0 $me->Message("STAT failed: $line") and return -1
840 0 0 $me->Message("$line") and return
877 0 0 $me->Message("$line") and return
990 0 0 $me->Message($line) and return
1025 0 0 $me->Message($line) and return
1057 0 0 $me->Message($line) and return
1073 0 0 $me->Message($result) and return

and 3 conditions

line !l l&&!r l&&r condition
73 0 0 0 defined $self->User and defined $self->Pass
90 0 0 0 @_ and scalar(@_) % 2 == 0
94 0 0 0 defined $hashargs{'USER'} and defined $hashargs{'PASSWORD'}
268 0 0 0 defined $c and length $c > 0
284 0 0 0 defined $c and length $c > 0
313 0 0 0 $me->Alive and $me->Socket
0 0 0 $me->Alive and $me->Socket and $me->Socket->connected
328 0 0 0 $me->Message("close failed: $!") and do { undef $me->{'SOCKET'}; return 0 }
371 0 0 0 $@ and $me->Message("Could not load IO::Socket::SSL: $@")
412 0 0 0 defined $me->User and defined $me->Pass
471 0 0 0 $@ and $me->Message("APOP failed: $@")
511 0 0 0 $@ and $me->Message("AUTH CRAM-MD5 failed: $@")
559 0 0 0 $me->Message("USER failed: $line") and $me->State("AUTHORIZATION")
571 0 0 0 $me->Message("PASS failed: $line") and $me->State("AUTHORIZATION")

or 2 conditions

line l !l condition
591 0 0 $lines ||= 0
823 0 0 shift() || ''
824 0 0 shift() || 'LIST'
861 0 0 shift() || ''
862 0 0 shift() || 'LIST'
954 0 0 shift() || (return)
976 0 0 shift() || ''
1044 0 0 shift() || ''
1075 0 0 $result ||= "[inferred: UTF-8 mode enabled]"

or 3 conditions

line l !l&&r !l&&!r condition
94 0 0 0 defined $hashargs{'USER'} and defined $hashargs{'PASSWORD'} or defined $hashargs{'HOST'}