Condition Coverage

blib/lib/Authen/SASL/Perl/DIGEST_MD5.pm
Criterion Covered Total %
condition 30 61 49.1


and 3 conditions

line !l l&&!r l&&r condition
330 0 12 0 defined $params->{'realm'} and ref $params->{'realm'} eq "ARRAY"
430 4 2 0 exists $cparams{'authzid'} and $cparams{'authzid'} eq ""
499 113 0 18 ref $response->{$k} && ref $response->{$k} eq 'ARRAY'
570 5 0 0 $auth eq "auth-conf" and $self->_select_cipher($minssf, $maxssf, $ciphers)
613 0 0 7 $minssf <= 1 and $maxssf >= 1
622 7 0 0 $cmask & 4 and $self->_select_cipher($minssf, $maxssf, \@sciphers)
649 0 0 0 grep({$c->{'name'} eq $_;} @$ciphers) && $c->{'ssf'} >= $minssf && $c->{'ssf'} <= $maxssf
706 0 0 0 $self->{'khs'} and $self->{'cipher'}{'bs'} > 1

or 2 conditions

line l !l condition
160 1 7 shift() || {}
281 7 0 $sparams{'realm'} || []
310 5 2 $sparams{'maxbuf'} || 65536
411 7 0 $cparams{'nc'} || 0
417 7 0 $cparams{'qop'} || 'auth'
528 0 7 $params->{$k} ||= []
597 7 0 $sparams->{'qop'} || 'auth'
620 4 3 $sparams->{'cipher-opts'} || $sparams->{'cipher'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
161 0 0 8 not ref $options or ref $options ne "HASH"
174 1 0 7 $options->{'no_integrity'} or $options->{'no_confidentiality'}
0 7 0 $options->{'no_integrity'} or $options->{'no_confidentiality'} or $NO_CRYPT_AVAILABLE
206 6 3 0 shift() || sub { }
219 0 9 0 $realm ||= $self->host
397 6 2 0 shift() || sub { }
441 1 0 5 $cservice ne $self->service or $chost ne $self->host