blib/lib/Net/FreeIPA/Error.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 24 | 79.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
102 | 3 | 1 | 3 | defined $err and $ref eq '' |
160 | 12 | 5 | 11 | exists $self->{'code'} && $self->{'code'} == $type |
168 | 15 | 16 | 22 | $reverse_lookup and defined $revtype |
31 | 7 | 15 | $reverse_lookup and defined $revtype and not $res | |
223 | 0 | 1 | 6 | defined $othererror && $self->is_error($othererror) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
60 | 0 | 48 | 0 | ref $this || $this |
163 | 10 | 0 | 15 | exists $self->{'name'} && $self->{'name'} eq $type || exists $self->{'message'} && $self->{'message'} eq $type |
170 | 9 | 0 | 54 | exists $self->{'code'} || exists $self->{'name'} || exists $self->{'message'} |