Branch Coverage

blib/lib/POE/Component/DBIAgent.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
207 0 0 if @_ & 1
211 0 0 unless defined $dsn
212 0 0 unless ref $dsn eq 'ARRAY'
215 0 0 unless defined $queries
216 0 0 unless ref $queries eq 'HASH'
229 0 0 if (scalar keys %params)
358 0 0 if (ref $package)
359 0 0 unless (ref $package eq 'HASH')
381 0 0 if ($$self{'active_query_count'} < $$self{'count'}) { }
393 0 0 if $self->debug
422 0 0 if (not $$self{'pending_query_count'}) { }
423 0 0 if $self->debug
427 0 0 if $self->debug
442 0 0 if $self->debug
456 0 0 unless my $helper = 'POE::Wheel::Run'->new('Program', sub { 'POE::Component::DBIAgent::Helper'->run($$self{'dsn'}, $$self{'queries'}); } , 'StdoutEvent', 'db_reply', 'StderrEvent', 'remote_stderr', 'ErrorEvent', 'error', 'StdinFilter', 'POE::Filter::Reference'->new, 'StdoutFilter', 'POE::Filter::Reference'->new)
464 0 0 if $self->debug
482 0 0 if $self->debug
504 0 0 unless (ref $data or $data eq 'EOF')
509 0 0 unless (defined $data)
510 0 0 if $self->debug
514 0 0 if ($data eq 'EOF')
519 0 0 if $self->debug
526 0 0 if (not $$self{'pending_query_count'}) { }
0 0 elsif ($self->debug and $$self{'pending_query_count'} < 0) { }
527 0 0 if ($$self{'finish'})
528 0 0 if $self->debug
539 0 0 if ($$self{'pending_queries'} and @{$$self{'pending_queries'};} and $$self{'active_query_count'} < $$self{'count'})
552 0 0 if $self->debug
561 0 0 if ($group) { }
563 0 0 if (scalar @{$$self{'group_cache'}[$$input{'id'}];} == $group or $data eq 'EOF')
581 0 0 defined $errstr ? :
0 0 if $self->debug
583 0 0 if defined $$self{'errorstate'}
592 0 0 unless $errnum
593 0 0 if $self->debug