Branch Coverage

lib/Net/LDAP/SimpleServer/LDIFStore.pm
Criterion Covered Total %
branch 22 38 57.8


line true false branch
22 0 11 unless defined $param
38 1 10 unless $param
40 0 10 if (&blessed($param) and $param->isa('Net::LDAP::LDIF')) { }
63 0 10 if ($reftype eq 'HASH')
65 0 0 unless exists $param->{'ldif'}
72 0 0 exists $param->{'ldif_options'} ? :
80 1 9 unless -r $param
88 9 8 if $dn->isa('Net::LDAP::Entry')
96 27 0 unless defined $tree
97 9 18 if (scalar @path == 0) { }
103 18 0 unless exists $tree->{'_object'}
135 0 9 if ($ldif->error)
149 0 21 unless exists $tree->{$rdn}
150 8 13 if scalar @path == 0
157 0 8 if $dn->isa('Net::LDAP::Entry')
173 3 0 if defined $tree
198 0 2 unless defined $entry
208 0 2 unless defined $tree
221 0 2 unless defined $tree