Branch Coverage

blib/lib/Net/OpenStack/Compute/AuthRole.pm
Criterion Covered Total %
branch 5 22 22.7


line true false branch
22 1 1 unless $version
23 0 1 if $self->is_rax_auth
24 0 1 if $version lt 'v2'
35 0 0 unless $res->is_success
72 1 0 unless $res->is_success
78 0 0 unless @catalog
79 0 0 if ($self->service_name)
81 0 0 unless @catalog
85 0 0 if ($self->region)
87 0 0 unless my $region = $$endpoint{'region'}
88 0 0 if ($region eq $self->region)