Condition Coverage

blib/lib/IMAP/Client.pm
Criterion Covered Total %
condition 31 150 20.6


and 2 conditions

line l !l condition
200 0 10 $start = $end = $number and next

and 3 conditions

line !l l&&!r l&&r condition
161 0 0 20 $debugbit and not $debugbit & $debugbit - 1
220 0 0 0 $$self{'errorstyle'} eq 'stack' and not $$self{'error_read'}
399 8 0 0 $parameters and $parameters ne 'NIL'
400 8 0 0 $id and $id ne 'NIL'
401 8 0 0 $description and $description ne 'NIL'
405 4 4 0 $dsp and $dsp ne 'NIL'
406 4 4 0 $lang and $lang ne 'NIL'
407 8 0 0 $loc and $loc ne 'NIL'
408 4 0 4 $ext_parameters and $ext_parameters ne 'NIL'
422 0 18 0 $description and $description ne 'NIL'
426 9 9 0 $md5 and $md5 ne 'NIL'
427 9 7 2 $dsp and $dsp ne 'NIL'
428 9 9 0 $lang and $lang ne 'NIL'
429 18 0 0 $loc and $loc ne 'NIL'
1060 0 0 0 $resp[0] and untagged_ok_response @resp
0 0 0 $resp[0] and untagged_ok_response @resp and ok_response $self->noop
2596 0 0 0 exists $$body{'offset'} and not exists $$body{'length'}

or 2 conditions

line l !l condition
217 0 0 $error || 'Unknown/Generic error'
330 40 1 dequote $value || ''
523 1 0 $result_entries{$key}{'length'} || 0
1036 0 0 $args{'IMAPSPort'} || 993
1042 0 0 $args{'IMAPPort'} || 143
1048 0 0 $args{'IMAPPort'} || 143
1234 0 0 $args{'SSL_version'} ||= 'TLSv1'
2620 0 0 $$body{'offset'} || '0'

or 3 conditions

line l !l&&r !l&&!r condition
298 165 0 1 $base || $_[0]
304 4 0 0 $base || $_[0]
375 8 0 0 $body1 || $body2
380 0 0 0 $body1 || $body2
507 4 4 4 $key eq 'BODY' or $key eq 'BODYSTRUCTURE'
584 0 0 0 $$hash{'lookup'} or $$hash{'list'}
592 0 0 0 $$hash{'admin'} or $$hash{'administer'}
834 0 0 0 $action eq 'error' or $action eq 'abort'
852 0 0 0 $action eq 'last' or $action eq 'stack'
963 0 0 0 lc $command eq 'fetch' or lc $command eq 'uid fetch'
1125 0 0 0 ref $callback_func eq 'CODE' or not defined $callback_func
1266 0 0 0 $autheduser || $login
1275 0 0 0 $autheduser || $login
2342 0 0 0 $self->check_capability('ANNOTATEMORE') or $self->check_capability('ANNOTATEMORE2')
2381 0 0 0 $self->check_capability('ANNOTATEMORE') or $self->check_capability('ANNOTATEMORE2')
2458 0 0 0 $acl eq 'l' or $acl eq 'lookup'
0 0 0 $acl eq 'l' or $acl eq 'lookup' or $acl eq 'list'
0 0 0 $acl eq 'r' or $acl eq 'read'
0 0 0 $acl eq 's' or $acl eq 'seen'
0 0 0 $acl eq 'w' or $acl eq 'write'
0 0 0 $acl eq 'i' or $acl eq 'insert'
0 0 0 $acl eq 'p' or $acl eq 'post'
0 0 0 $acl eq 'c' or $acl eq 'create'
0 0 0 $acl eq 'd' or $acl eq 'delete'
0 0 0 $acl eq 'a' or $acl eq 'admin'
0 0 0 $acl eq 'a' or $acl eq 'admin' or $acl eq 'administer'
2618 0 0 0 $$body{'offset'} or $$body{'length'}