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 | 25 | @_ == 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 | 42 | 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 || {} |
25 | 7 | $params || {} | |
0 | 0 | $params || {} | |
0 | 0 | $params || {} | |
2 | 2 | $params || {} | |
0 | 0 | $params || {} | |
292 | 214 | 0 | (caller 1)[3] || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 0 | 0 | 0 | @_ == 2 or @_ == 3 and ref $params eq 'HASH' |
7 | 25 | 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 | 38 | 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 |