blib/lib/Net/SecurityCenter/REST.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 25 | 77 | 32.4 |
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 | 2 | @_ == 3 and ref $params eq 'HASH' | |
0 | 0 | 0 | @_ == 3 and ref $params eq 'HASH' | |
209 | 44 | 0 | 0 | $response_code == 403 and not $response_ctype =~ m[application/json] |
249 | 0 | 0 | 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 | 0 | $params || {} |
27 | 7 | $params || {} | |
0 | 0 | $params || {} | |
0 | 0 | $params || {} | |
2 | 2 | $params || {} | |
0 | 0 | $params || {} | |
292 | 224 | 0 | (caller 1)[3] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 0 | 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 | 2 | 0 | @_ == 2 or @_ == 3 and ref $params eq 'HASH' | |
0 | 0 | 0 | @_ == 2 or @_ == 3 and ref $params eq 'HASH' | |
151 | 4 | 40 | 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 |