blib/lib/MikroTik/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 25 | 84.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 0 | 1 | 0 | defined ${^GLOBAL_PHASE} and ${^GLOBAL_PHASE} eq 'DESTRUCT' |
205 | 7 | 2 | 15 | %$_ and not $r->{'subscription'} |
207 | 15 | 8 | 1 | $type eq '!re' and $r->{'subscription'} |
line | l | !l | condition |
---|---|---|---|
13 | 0 | 3 | $ENV{'MIKROTIK_CLIENT_DEBUG'} || 0 |
88 | 3 | 1 | $err || 'closed prematurely' |
163 | 13 | 8 | $err // '' |
205 | 4 | 11 | $r->{'data'} ||= [] |
212 | 5 | 3 | $r->{'data'} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
199 | 11 | 4 | 0 | $self->{'response'} ||= 'MikroTik::Client::Response'->new |
207 | 5 | 2 | 8 | $type eq '!trap' or $type eq '!fatal' |