| blib/lib/OpenStack/MetaAPI.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 12 | 26 | 46.1 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 118 | 0 | 0 | 5 | ref $server_status and $server_status->{'status'} | 
| 0 | 0 | 5 | ref $server_status and $server_status->{'status'} and $server_status->{'status'} | |
| 0 | 4 | 1 | ref $server_status and $server_status->{'status'} and $server_status->{'status'} and lc $server_status->{'status'} eq 'active' | |
| 138 | 0 | 0 | 1 | ref $floating_ip and _looks_valid_id($floating_ip->{'id'}) | 
| line | l | !l | condition | 
|---|---|---|---|
| 64 | 0 | 3 | $opts{'security_group'} //= 'default' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 80 | 2 | 0 | 0 | $image //= $self->image_from_name($opts{'image'}) | 
| 105 | 0 | 2 | 0 | $opts{'wait_time_limit'} // $self->create_max_timeout | 
| 159 | 0 | 10 | 1 | $entry //= $self->can($helper)->($self, 'name', $id_or_name) | 
| 161 | 1 | 0 | 10 | ref $entry ne 'HASH' or not _looks_valid_id($entry->{'id'}) |