Condition Coverage

blib/lib/DBD/LDAP.pm
Criterion Covered Total %
condition 0 86 0.0


and 3 conditions

line !l l&&!r l&&r condition
461 0 0 0 $ldap_root and not $basedn =~ /\i/o
478 0 0 0 not $dbuser =~ /\,/o and $ldap_loginrule =~ /\/io
0 0 0 not $dbuser =~ /\,/o and $ldap_loginrule =~ /\/io and $ldap_root
487 0 0 0 $dbuser and not $dbuser =~ /\=/o
521 0 0 0 defined $attr->{'ldaps_capath'} and -d $attr->{'ldaps_capath'}
810 0 0 0 $dB->FETCH('AutoCommit') and $dB->FETCH('Warn')
832 0 0 0 $val == 1 and not $dbh->FETCH('AutoCommit')
1018 0 0 0 $params and scalar @$params != $numParam
1068 0 0 0 $dB->FETCH('AutoCommit') == 1 and not $sth->FETCH('Statement') =~ /^\s*(?:select|primary_key_info)/io

or 2 conditions

line l !l condition
420 0 0 $dbuser ||= ''
421 0 0 $dbpswd ||= ''
423 0 0 $ENV{'LDAP_HOME'} ||= ''
560 0 0 $mesg->code || -1
568 0 0 $mesg->code || -1
590 0 0 $attr->{'AutoCommit'} || 0
663 0 0 shift @_ || ''
664 0 0 shift() || ''
665 0 0 shift() || ''
667 0 0 $dbname || ''
0 0 $host || ''
0 0 $port || ''
781 0 0 $res->code || -1
793 0 0 $res->code || -1
883 0 0 $csr->execute(@bind_values) || undef
1058 0 0 $ldapref->{'lasterror'} || -601
0 0 $ldapref->{'lastmsg'} || 'Unknown Error!'
1110 0 0 ${$$ldapref{'lengths'};}{$l[$i]} || 255
1112 0 0 ${$$ldapref{'scales'};}{$l[$i]} || 0

or 3 conditions

line l !l&&r !l&&!r condition
463 0 0 0 not $basedn =~ /\S/o or $basedn =~ /\,\s*$/o
661 0 0 0 $command eq 'createdb' || $command eq 'dropdb'
1059 0 0 0 $@ ||= $saveAT
1082 0 0 0 $@ ||= $saveAT
1109 0 0 0 $typehash{${$$ldapref{'types'};}{$l[$i]}} || $typehash{'VARCHAR'}
1133 0 0 0 $@ ||= $saveAT
1156 0 0 0 $row->[$i] eq $t or $sth->{'Database'}->FETCH('LongTruncOk')