Condition Coverage

blib/lib/Net/IMAP/Simple.pm
Criterion Covered Total %
condition 3 74 4.0


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 0 $opts{'use_v6'} and $opts{'use_ssl'}
56 0 0 0 $opts{'ssl_options'} and not @{$self->{'ssl_options'};}
284 0 0 0 $cb and not @_
372 0 0 0 $self->{'use_select_cache'} and time - $self->{'BOXES'}{$mbox}{'proc_time'} <= $self->{'select_cache_ttl'}
557 1 2 68 $e + 1 < @a and $a[$e] + 1 == $a[$e + 1]
708 0 0 0 defined $fetching and $fetching == 0
751 0 0 0 defined $msg and defined $mailbox_name
790 0 0 0 defined $msg and defined $mailbox_name
1221 0 0 0 $list and not $lines[-1] =~ /\)[\x0d\x0a\s]*$/
1278 0 0 0 defined $ok and $ok == 1
0 0 0 defined $ok and not $ok
1326 0 0 0 exists $self->{'debug'} and defined $self->{'debug'}

or 2 conditions

line l !l condition
216 0 0 $_[0]{'last'} || 0
240 0 0 $self->{'ssl_version'} || 'SSLv3 TLSv1'
298 0 0 shift() || $self->current_box || 'INBOX'
305 0 0 shift() || $self->current_box || 'INBOX'
322 0 0 shift() || '1:*'
327 0 0 shift() || '1:*'
336 0 0 shift() || $self->current_box || 'INBOX'
592 0 0 $search ||= 'ALL'
593 0 0 $charset ||= 'UTF-8'
685 0 0 $part || 'RFC822'
989 0 0 $ref ||= '""'
1013 0 0 $ref ||= '""'
1192 0 0 $1 || 'unknown error'

or 3 conditions

line l !l&&r !l&&!r condition
484 0 0 0 $number || '1:' . $self->_last
512 0 0 0 not @lines or $_[0] =~ /^[!-9;-~]+:/
573 0 0 0 $number || '1:' . $self->_last
970 0 0 0 $line =~ /^\*\s+(LIST|LSUB).*\s+(\".*?\")\s*$/i or $line =~ /^\*\s+(LIST|LSUB).*\s+(\S+)\s*$/i