Branch Coverage

blib/lib/AWS/Lambda/Bootstrap.pm
Criterion Covered Total %
branch 14 26 53.8


line true false branch
29 0 10 if (@_ == 1 and ref $_[0] eq 'HASH') { }
58 0 0 unless $self->_init
66 0 5 if (my $func = $self->{'function'})
87 2 3 unless $self->_init
100 1 2 if ($ref eq "AWS::Lambda::ErrorSentinel")
103 1 1 if ($ref eq 'CODE') { }
114 0 1 unless ($resp->{'success'})
137 0 1 if (not $resp->{'success'})
163 0 0 if ($writer) { }
169 1 0 if ($writer)
171 0 1 if (not $response->{'success'})
191 0 1 if (not $resp->{'success'})
209 0 1 if (not $resp->{'success'})