Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
428 0 0 0 $ldap_root and not $basedn =~ /\i/o
440 0 0 0 $dbuser and $ldap_loginrule =~ /\*/o
478 0 0 0 defined $attr->{'ldaps_capath'} and -d $attr->{'ldaps_capath'}
764 0 0 0 $dB->FETCH('AutoCommit') and $dB->FETCH('Warn')
786 0 0 0 $val == 1 and not $dbh->FETCH('AutoCommit')
972 0 0 0 $params and scalar @$params != $numParam
1022 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
389 0 0 $dbuser ||= ''
390 0 0 $dbpswd ||= ''
392 0 0 $ENV{'LDAP_HOME'} ||= ''
514 0 0 $mesg->code || -1
522 0 0 $mesg->code || -1
544 0 0 $attr->{'AutoCommit'} || 0
617 0 0 shift @_ || ''
618 0 0 shift() || ''
619 0 0 shift() || ''
621 0 0 $dbname || ''
0 0 $host || ''
0 0 $port || ''
735 0 0 $res->code || -1
747 0 0 $res->code || -1
837 0 0 $csr->execute(@bind_values) || undef
1012 0 0 $ldapref->{'lasterror'} || -601
0 0 $ldapref->{'lastmsg'} || 'Unknown Error!'
1064 0 0 ${$$ldapref{'lengths'};}{$l[$i]} || 255
1066 0 0 ${$$ldapref{'scales'};}{$l[$i]} || 0

or 3 conditions

line l !l&&r !l&&!r condition
430 0 0 0 not $basedn =~ /\S/o or $basedn =~ /\,\s*$/o
615 0 0 0 $command eq 'createdb' || $command eq 'dropdb'
1013 0 0 0 $@ ||= $saveAT
1036 0 0 0 $@ ||= $saveAT
1063 0 0 0 $typehash{${$$ldapref{'types'};}{$l[$i]}} || $typehash{'VARCHAR'}
1087 0 0 0 $@ ||= $saveAT
1110 0 0 0 $row->[$i] eq $t or $sth->{'Database'}->FETCH('LongTruncOk')