line |
true |
false |
branch |
19
|
2 |
12 |
unless defined $args{'tenant'} |
20
|
2 |
10 |
unless defined $args{'username'} |
21
|
2 |
8 |
unless defined $args{'password'} |
39
|
1 |
7 |
unless (defined $response->{'access'}{'token'}{'id'}) |
78
|
2 |
9 |
if (defined $self->{'clients'}{$type}) |
82
|
1 |
8 |
if (defined $opts{'uri'}) |
93
|
1 |
7 |
unless ($opts{'endpoint'} =~ /^(?:public|internal|admin)$/) |
98
|
2 |
8 |
unless $type eq $service->{'type'} |
103
|
1 |
7 |
if defined $opts{'id'} and $endpoint->{'id'} ne $opts{'id'} |
104
|
1 |
6 |
if defined $opts{'region'} and $endpoint->{'region'} ne $opts{'region'} |
106
|
4 |
2 |
if ($opts{'endpoint'} eq 'public') { } |
|
1 |
1 |
elsif ($opts{'endpoint'} eq 'internal') { } |
|
1 |
0 |
elsif ($opts{'endpoint'} eq 'admin') { } |