Branch Coverage

blib/lib/Net/LDAP/Batch/Action/Update.pm
Criterion Covered Total %
branch 15 48 31.2


line true false branch
48 1 0 unless ($self->entry)
49 0 1 if (not $self->search && ref $self->search or ref $self->search ne 'ARRAY')
74 0 1 if ($self->entry) { }
78 0 1 unless my $search = $self->search
81 0 1 if $self->debug
83 0 1 if ($self->dn and ref $self->dn ne 'HASH')
86 0 1 if ($self->replace and ref $self->replace ne 'HASH')
89 0 1 if ($self->delete and ref $self->delete ne 'HASH')
93 0 0 unless ($self->replace or $self->dn or $self->delete)
98 1 0 if ($msg->count > 0) { }
101 1 0 if ($self->replace)
106 0 1 if $self->debug
113 1 0 if ($self->delete)
115 0 1 if $self->debug
119 0 1 if ($self->dn)
123 0 0 if ($self->debug)
147 0 1 if ($msg->code)
164 0 0 unless $self->complete
167 0 0 unless ($before and $before->isa('Net::LDAP::Entry'))
172 0 0 unless ($after and $after->isa('Net::LDAP::Entry'))
176 0 0 unless my $search = $self->search
177 0 0 unless my $replace = $self->replace
180 0 0 if $self->debug
199 0 0 if ($msg->code)