Condition Coverage

blib/lib/AWS/Lambda/Context.pm
Criterion Covered Total %
condition 5 22 22.7


and 3 conditions

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

or 2 conditions

line l !l condition
17 7 0 $args{'deadline_ms'} // die("deadine_ms is required")
18 7 0 $args{'invoked_function_arn'} // ""
19 7 0 $args{'aws_request_id'} // ""
37 0 0 $ENV{'AWS_LAMBDA_FUNCTION_NAME'} // die("function_name is not found")
41 0 0 $ENV{'AWS_LAMBDA_FUNCTION_VERSION'} // die("function_version is not found")
50 0 0 $ENV{'AWS_LAMBDA_FUNCTION_MEMORY_SIZE'} // die("memory_limit_in_mb is not found")
59 0 0 $ENV{'AWS_LAMBDA_LOG_GROUP_NAME'} // die("log_group_name is not found")
63 0 0 $ENV{'AWS_LAMBDA_LOG_STREAM_NAME'} // die("log_stream_name is not found")

or 3 conditions

line l !l&&r !l&&!r condition
10 0 7 0 ref $proto || $proto