Branch Coverage

blib/lib/Dancer/Plugin/LDAP/Handle.pm
Criterion Covered Total %
branch 0 96 0.0


line true false branch
79 0 0 if (ref $_[0] eq 'HASH') { }
95 0 0 if (exists $opts{$key}) { }
105 0 0 if (@conds > 1) { }
0 0 elsif (exists $$spec_ref{'dn'}) { }
134 0 0 if ($opts{'values'} eq 'asref') { }
0 0 elsif ($opts{'values'} eq 'last') { }
141 0 0 defined $value_ref ? :
155 0 0 if (wantarray) { }
194 0 0 unless defined $value
196 0 0 if ref $value eq '' and $value eq ''
204 0 0 if ($mesg->code)
218 0 0 if ($type eq 'dn')
225 0 0 if (@$dn_a > @$dn_b) { }
0 0 elsif (@$dn_a < @$dn_b) { }
240 0 0 unless (exists $$href_b{$k})
244 0 0 if ($cmp = $$href_a{$k} cmp $$href_b{$k})
251 0 0 if (keys %$href_b)
281 0 0 if ($spec_copy and ref $spec_copy eq 'HASH')
285 0 0 if (ref $v eq '' and $v eq '')
297 0 0 if ($mesg->code)
323 0 0 if ($ldret->code)
344 0 0 if (@$new_ref == 1) { }
367 0 0 if ($ldret->code)
391 0 0 if (@_)
414 0 0 if ($ldret->code)
439 0 0 if ($buf) { }
0 0 elsif (@tmp > 1) { }
449 0 0 if (@tmp > 1) { }
450 0 0 if ($options{'raw'}) { }
463 0 0 if ($options{'hash'})
479 0 0 if (ref $rdn eq 'HASH') { }
550 0 0 unless (defined $new_ref)
554 0 0 if ($pos >= @$new_ref)
560 0 0 if (defined $attribute)
564 0 0 if (exists $$entry{$attribute})
577 0 0 if ($options)
578 0 0 if (ref $options eq 'HASH')
579 0 0 if ($mesg->code == 68)
581 0 0 if ($$options{'exists'})
590 0 0 if ($mesg->dn)
604 0 0 if ($key eq '-or') { }
0 0 elsif (ref $value eq 'ARRAY') { }
608 0 0 if ($$value[0] eq 'exists') { }
0 0 elsif ($$value[0] eq '!' or $$value[0] eq 'not') { }
0 0 elsif ($$value[0] eq 'substr' or $$value[0] eq 'substring') { }
0 0 elsif ($$value[0] eq '<' or $$value[0] eq '<=' or $$value[0] eq '>' or $$value[0] eq '>=') { }
609 0 0 if ($$value[1]) { }
650 0 0 unless (&Encode::is_utf8($string))