Condition Coverage

blib/lib/Net/LDAP/Class.pm
Criterion Covered Total %
condition 23 51 45.1


and 3 conditions

line !l l&&!r l&&r condition
104 0 472 0 $meta and $meta->is_initialized

or 2 conditions

line l !l condition
382 204 0 $entry->get_value($attr) || ''
729 0 1 shift() || {}
738 0 1 $$opts{'page_size'} || 500

or 3 conditions

line l !l&&r !l&&!r condition
109 465 7 0 $$self{'ldap'} ||= $self->init_ldap
138 647 472 0 $$self{'_meta'} ||= $self->metadata_class->for_class(ref $self)
143 149 8 0 $Net::LDAP::Class::Metadata::Objects{$self} || $self->metadata_class->for_class($self)
255 45 41 0 ref $self || $self
257 41 45 0 delete $opts{'ldap'} || $self->ldap
263 86 0 0 delete $opts{'base_dn'} || $self->base_dn
269 0 86 0 delete $opts{'attrs'} || $self->attributes
331 0 0 183 $opts{'filter'} || $opts{'value'}
362 45 138 0 delete $opts{'base_dn'} || $self->base_dn
522 0 67 0 $self->batch || 'Net::LDAP::Batch'->new('ldap', $self->ldap, 'debug', $self->debug)
544 0 0 0 $self->batch || 'Net::LDAP::Batch'->new('ldap', $self->ldap, 'debug', $self->debug)
730 1 0 0 ref $self || $self
736 0 1 0 $$opts{'filter'} || $self->metadata->unique_attributes->[0] . '=*'
740 0 1 0 $$opts{'ldap'} || $self->ldap