Branch Coverage

blib/lib/URI/_ldap.pm
Criterion Covered Total %
branch 28 36 77.7


line true false branch
18 31 8 defined $query ? :
21 17 22 if (@_)
27 3 14 unless length $query
42 5 6 @_ ? :
43 6 5 unless wantarray
50 0 10 unless defined wantarray and defined $old
56 2 7 unless length $old
63 0 11 unless defined wantarray and defined $old
69 2 8 unless length $old
79 0 10 unless defined $_
81 3 4 if @ext
83 3 4 unless wantarray
94 0 2 if $other == $self
104 2 0 if $new_scope eq "base"
105 2 0 if $new_scope ne $old_scope
109 2 0 if lc $old_filter eq "(objectclass=*)" or lc $old_filter eq "objectclass=*"
116 2 2 if ($etype =~ /^!?bindname$/)
120 2 0 if @ext