Condition Coverage

blib/lib/Authen/SASL/Perl/DIGEST_MD5.pm
Criterion Covered Total %
condition 35 65 53.8


and 3 conditions

line !l l&&!r l&&r condition
324 0 12 0 defined $$params{'realm'} and ref $$params{'realm'} eq 'ARRAY'
424 4 2 0 exists $cparams{'authzid'} and $cparams{'authzid'} eq ''
493 113 0 18 ref $$response{$k} && ref $$response{$k} eq 'ARRAY'
564 5 0 0 $auth eq 'auth-conf' and $self->_select_cipher($minssf, $maxssf, $ciphers)
607 0 0 7 $minssf <= 1 and $maxssf >= 1
616 7 0 0 $cmask & 4 and $self->_select_cipher($minssf, $maxssf, \@sciphers)
642 0 0 0 grep({$$c{'name'} eq $_;} @$ciphers) && $$c{'ssf'} >= $minssf && $$c{'ssf'} <= $maxssf
700 0 0 0 $$self{'khs'} and $$self{'cipher'}{'bs'} > 1

or 2 conditions

line l !l condition
154 1 7 shift() || {}
200 6 3 shift() || sub { }
275 7 0 $sparams{'realm'} || []
304 5 2 $sparams{'maxbuf'} || 65536
391 6 2 shift() || sub { }
405 7 0 $cparams{'nc'} || 0
411 7 0 $cparams{'qop'} || 'auth'
522 0 7 $$params{$k} ||= []
588 7 0 $$sparams{'qop'} || 'auth'
614 4 3 $$sparams{'cipher-opts'} || $$sparams{'cipher'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
155 0 0 8 not ref $options or ref $options ne 'HASH'
166 1 0 7 $$options{'no_integrity'} or $$options{'no_confidentiality'}
1 0 7 $$options{'no_integrity'} or $$options{'no_confidentiality'} or $NO_CRYPT_AVAILABLE
204 5 4 0 $Authen::SASL::Perl::DIGEST_MD5::NONCE || join(':', $$, time, rand)
213 0 9 0 $realm ||= $self->host
261 3 4 0 $Authen::SASL::Perl::DIGEST_MD5::CNONCE || join(':', $$, time, rand)
435 1 0 5 $cservice ne $self->service or $chost ne $self->host