Branch Coverage

blib/lib/AWS/Lambda/Bootstrap.pm
Criterion Covered Total %
branch 18 32 56.2


line true false branch
29 0 11 if (@_ == 1 and ref $_[0] eq 'HASH') { }
41 0 11 unless $max_workers =~ /^\d+$/u and $max_workers >= 0
62 0 1 unless $self->_init
64 1 0 if ($self->{'max_workers'} > 0) { }
74 1 0 if $pm->start
93 0 6 if (my $func = $self->{'function'})
114 2 3 unless $self->_init
127 1 2 if ($ref eq "AWS::Lambda::ErrorSentinel")
130 1 1 if ($ref eq 'CODE') { }
141 0 1 unless ($resp->{'success'})
165 0 1 if (not $resp->{'success'})
191 0 0 if ($writer) { }
197 1 0 if ($writer)
199 0 1 if (not $response->{'success'})
219 0 1 if (not $resp->{'success'})
237 0 1 if (not $resp->{'success'})