Condition Coverage

blib/lib/AWS/Lambda/Bootstrap.pm
Criterion Covered Total %
condition 9 27 33.3


and 3 conditions

line !l l&&!r l&&r condition
29 10 0 0 @_ == 1 and ref $_[0] eq "HASH"

or 2 conditions

line l !l condition
36 0 0 ($args{'handler'} // $ENV{'_HANDLER'}) // die("\$_HANDLER is not found")
38 0 0 ($args{'runtime_api'} // $ENV{'AWS_LAMBDA_RUNTIME_API'}) // die("\$AWS_LAMBDA_RUNTIME_API is not found")
39 0 0 ($args{'task_root'} // $ENV{'LAMBDA_TASK_ROOT'}) // die("\$LAMBDA_TASK_ROOT is not found")
76 3 1 "main"->can($name) // die("handler $name is not found")
184 0 1 &blessed($error) // "Error"
202 0 1 &blessed($error) // "Error"

or 3 conditions

line l !l&&r !l&&!r condition
27 0 10 0 ref $proto || $proto
36 10 0 0 $args{'handler'} // $ENV{'_HANDLER'}
38 10 0 0 $args{'runtime_api'} // $ENV{'AWS_LAMBDA_RUNTIME_API'}
39 10 0 0 $args{'task_root'} // $ENV{'LAMBDA_TASK_ROOT'}