line |
true |
false |
branch |
19
|
1 |
13 |
unless defined $args{'username'} |
20
|
1 |
12 |
unless defined $args{'password'} |
47
|
0 |
12 |
if defined $args{'scope'} |
57
|
1 |
11 |
unless (defined $response->header('X-Subject-Token')) |
61
|
1 |
10 |
unless (defined $body->{'token'}) |
65
|
1 |
9 |
unless (defined $body->{'token'}{'catalog'}) |
109
|
2 |
8 |
if (defined $self->{'clients'}{$type}) |
113
|
1 |
7 |
if (defined $opts{'uri'}) |
124
|
0 |
7 |
unless ($opts{'endpoint'} =~ /^(?:public|internal|admin)$/) |
129
|
1 |
6 |
unless $type eq $service->{'type'} |
132
|
0 |
9 |
if defined $opts{'id'} and $endpoint->{'id'} ne $opts{'id'} |
133
|
0 |
9 |
if defined $opts{'region'} and $endpoint->{'region'} ne $opts{'region'} |
134
|
3 |
6 |
if defined $opts{'endpoint'} and $endpoint->{'interface'} ne $opts{'endpoint'} |