Branch Coverage

blib/lib/Data/Toolkit/Connector/LDAP.pm
Criterion Covered Total %
branch 8 132 6.0


line true false branch
94 0 1 if $debug
100 0 1 if $debug
128 0 0 unless $server
129 0 0 if $debug
173 0 0 unless $entry
177 0 0 if $dn
178 0 0 unless $dn
181 0 0 unless $oc
183 0 0 if $debug
186 0 0 unless $dirEntry
196 0 0 if $attr =~ /^_/
199 0 0 if $debug
200 0 0 if defined $values[0]
227 0 0 unless $entry
231 0 0 if $dn
232 0 0 unless $dn
234 0 0 if $debug
257 0 0 if $debug
260 0 0 unless $paramhash
262 0 0 if (ref $paramhash ne 'HASH')
286 0 0 if $debug
289 0 0 unless $filter
313 0 0 if $debug
321 0 0 if ($$self{'searchparams'})
326 0 0 if ($$self{'filterspec'})
329 0 0 unless $filterspec
334 0 0 unless $entry
341 0 0 if $value
342 0 0 unless $value
388 0 0 if $debug
394 0 0 unless $$self{'searchresult'}
395 0 0 unless $$self{'searchresult'}->count
399 0 0 unless $ldapEntry
420 0 0 if ($map)
449 1 0 if ($newCurrent)
450 0 1 unless $newCurrent->isa('Net::LDAP::Entry')
452 0 1 if $debug
472 0 1 if ($debug)
475 0 0 if $newCurrent
476 0 0 if $$self{'current'}
506 0 0 unless $source
507 0 0 unless $source->isa('Data::Toolkit::Entry')
509 0 0 if $map and not $map->isa('Data::Toolkit::Map')
512 0 0 unless $$self{'current'}
515 0 0 if $dn
516 0 0 if $debug
522 0 0 if $map
526 0 0 if ($map) { }
542 0 0 if $debug
549 0 0 if ($useLDAPReplace) { }
554 0 0 if (not defined $sourcelist[0] and defined $currentlist[0])
555 0 0 if $debug
561 0 0 if (defined $sourcelist[0])
566 0 0 if defined $sourcelist[0]
567 0 0 if defined $currentlist[0]
568 0 0 if ($joinsource ne $joincurrent)
569 0 0 if $debug
587 0 0 if $source->attrCmp($attr, $sourceVal, $currentVal) == 0
592 0 0 if ($sourceVal)
594 0 0 if $debug
598 0 0 if ($currentVal)
600 0 0 if $debug
612 0 0 if ($needUpdate)
617 0 0 if $msg->is_error
663 0 1 if (ref $class)
665 1 0 if @_ == 1