Branch Coverage

blib/lib/Net/LDAP/Batch.pm
Criterion Covered Total %
branch 11 28 39.2


line true false branch
94 0 1 ref $_[0] ? :
102 0 1 if ($$self{'actions'})
106 1 0 unless defined $self->debug
134 0 1 if (@_ == 1 and ref $_[0] eq 'ARRAY') { }
141 0 1 if (blessed($arg[0]) and $arg[0]->isa('Net::LDAP::Batch::Action')) { }
145 0 1 if (@arg % 2)
151 0 3 unless (exists $action_classes{$what})
156 3 0 if (ref $todo eq 'ARRAY') { }
203 0 1 if ($@)
219 0 1 unless ($self->actions and scalar @{$self->actions;})
223 0 3 if $self->debug
237 0 0 unless ($self->actions and scalar @{$self->actions;})
241 0 0 unless $action->complete
242 0 0 if $self->debug