blib/lib/Net/FreeIPA/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 21 | 80.9 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
100 | 3 | 1 | 3 | defined $err and $ref eq '' |
158 | 11 | 4 | 10 | exists $self->{'code'} && $self->{'code'} == $type |
166 | 12 | 16 | 18 | $reverse_lookup and defined $revtype |
28 | 6 | 12 | $reverse_lookup and defined $revtype and not $res |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
58 | 0 | 44 | 0 | ref $this || $this |
161 | 9 | 0 | 12 | exists $self->{'name'} && $self->{'name'} eq $type || exists $self->{'message'} && $self->{'message'} eq $type |
168 | 9 | 0 | 54 | exists $self->{'code'} || exists $self->{'name'} || exists $self->{'message'} |