blib/lib/OpenStack/MetaAPI/API/Service.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 17 | 26 | 65.3 |
line | true | false | branch |
---|---|---|---|
55 | 3 | 2 | if ($url =~ m[/(v[0-9\.]+)]) |
70 | 6 | 2 | if ($load) |
82 | 0 | 19 | unless defined $uri |
84 | 0 | 19 | if $uri =~ /^v/ |
87 | 0 | 19 | if $self->endpoint and $self->endpoint =~ m[:[\d]/v]a |
90 | 8 | 11 | if ($self->version_prefix) |
92 | 0 | 8 | unless $uri =~ m[^/] |
103 | 0 | 30 | unless ref $self |
104 | 0 | 30 | unless $name |
105 | 0 | 30 | unless ref $sub eq 'CODE' |
108 | 0 | 30 | if defined $methods->{$name} |
109 | 0 | 30 | if $self->can($name) |
124 | 28 | 11 | unless (defined $sub and ref $self) |