Branch Coverage

blib/lib/Database/Async.pm
Criterion Covered Total %
branch 8 24 33.3


line true false branch
329 0 5 if (my $encoding = delete $args{'encoding'})
333 0 5 if (my $uri = delete $args{'uri'})
341 0 5 if (exists $args{'engine'})
344 0 5 if (exists $args{'type'})
347 3 2 if (my $pool = delete $args{'pool'})
348 1 2 if (&blessed($pool)) { }
433 0 0 unless my $engine_class = $Database::Async::Engine::ENGINE_MAP{$type}
434 0 0 unless $engine_class->can('new')
437 0 0 unless $self->{'engine_parameters'}
0 0 defined $uri ? :
443 0 0 if (my $encoding = $self->encoding)
444 0 0 if ($engine_class->can('encoding')) { }