blib/lib/Net/SecurityCenter/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 77 | 36.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
133 | 0 | 0 | 0 | @_ == 3 and ref $params eq "HASH" |
0 | 0 | 27 | @_ == 3 and ref $params eq "HASH" | |
0 | 0 | 0 | @_ == 3 and ref $params eq "HASH" | |
0 | 0 | 0 | @_ == 3 and ref $params eq "HASH" | |
0 | 0 | 3 | @_ == 3 and ref $params eq "HASH" | |
0 | 0 | 0 | @_ == 3 and ref $params eq "HASH" | |
209 | 47 | 0 | 0 | $response_code == 403 and not $response_ctype =~ m[application/json] |
249 | 0 | 1 | 0 | $is_json and exists $result->{'error_msg'} |
308 | 2 | 0 | 1 | defined $args{'access_key'} and defined $args{'secret_key'} |
1 | 0 | 1 | defined $args{'username'} and defined $args{'password'} |
line | l | !l | condition |
---|---|---|---|
37 | 0 | 1 | delete $options->{'ssl_options'} || {} |
38 | 1 | 0 | delete $options->{'logger'} || undef |
39 | 1 | 0 | delete $options->{'scheme'} || 'https' |
133 | 0 | 2 | $params || {} |
27 | 7 | $params || {} | |
0 | 0 | $params || {} | |
0 | 0 | $params || {} | |
3 | 2 | $params || {} | |
0 | 0 | $params || {} | |
292 | 240 | 0 | (caller 1)[3] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 2 | 0 | 0 | @_ == 2 or @_ == 3 and ref $params eq "HASH" |
7 | 27 | 0 | @_ == 2 or @_ == 3 and ref $params eq "HASH" | |
0 | 0 | 0 | @_ == 2 or @_ == 3 and ref $params eq "HASH" | |
0 | 0 | 0 | @_ == 2 or @_ == 3 and ref $params eq "HASH" | |
2 | 3 | 0 | @_ == 2 or @_ == 3 and ref $params eq "HASH" | |
0 | 0 | 0 | @_ == 2 or @_ == 3 and ref $params eq "HASH" | |
151 | 4 | 43 | 0 | @_ == 3 or @_ == 4 |
308 | 1 | 2 | 0 | defined $args{'access_key'} and defined $args{'secret_key'} or defined $args{'username'} and defined $args{'password'} |
327 | 2 | 1 | 0 | $username or $access_key |