blib/lib/Net/OpenStack/Client/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 24 | 70.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
95 | 56 | 1 | 3 | defined $err and $ref eq '' |
153 | 6 | 2 | 3 | exists $self->{'code'} && $self->{'code'} == $type |
161 | 0 | 16 | 0 | $reverse_lookup and defined $revtype |
16 | 0 | 0 | $reverse_lookup and defined $revtype and not $res | |
176 | 0 | 1 | 2 | defined $othererror && $self->is_error($othererror) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
53 | 0 | 86 | 0 | ref $this || $this |
156 | 2 | 1 | 2 | exists $self->{'name'} && $self->{'name'} eq $type || exists $self->{'message'} && $self->{'message'} eq $type |
163 | 8 | 19 | 358 | exists $self->{'code'} || exists $self->{'name'} || exists $self->{'message'} |