Branch Coverage

blib/lib/Net/LDAP/Express.pm
Criterion Covered Total %
branch 1 76 1.3


line true false branch
19 0 0 if ref $class
24 0 0 unless $args{$parm}
37 0 0 if (defined $localparms{'onlyattrs'} and defined $localparms{'searchextras'})
39 0 0 if $^W
44 0 0 if $@
47 0 0 if ($localparms{'bindDN'})
49 0 0 if defined $localparms{'bindpw'}
52 0 0 if ($msg->is_error)
81 0 0 if (ref $_[0])
89 0 0 unless exists $errcache{$lasterr[0]}
94 0 0 if $^W
109 0 0 if ($@)
110 0 0 if $^W
116 0 0 if ($msg->is_error)
135 0 0 if ($@)
136 0 0 if $^W
142 0 0 if ($msg->is_error)
161 0 0 if (@_ % 2)
184 0 0 if ($msg->is_error)
192 0 0 $ldap->_sort_by ? :
204 0 0 if ($msg->is_error)
222 0 0 if ($@)
223 0 0 if $^W
230 0 0 if ($msg->is_error)
233 0 0 unless ($msg->code == 82)
265 0 2 if $^W and 0
276 0 0 if @_ == 0
287 0 0 $ldap->_searchbool ? :
292 0 0 if ($match)
293 0 0 if $match eq 'substr' or $match eq 'exact'
294 0 0 if $match eq 'substr'
300 0 0 if (@attrs == 1) { }
315 0 0 unless (exists $$ldap{'net_ldap_express_searchparms'})
322 0 0 $ldap->_onlyattrs ? :
324 0 0 if (my $extras = $ldap->_searchextras)
331 0 0 if (my $sortattrs = $ldap->_sort_by)
332 0 0 unless ($$attrs[0] eq '*')
337 0 0 unless grep(($attr =~ /$_/), @qrattrs)