| blib/lib/API/MikroTik.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| condition | 19 | 28 | 67.8 | 
| line | !l | l&&!r | l&&r | condition | 
|---|---|---|---|---|
| 90 | 0 | 0 | 0 | $_->{'timeout'} and $_->{'loop'}->remove($_->{'timeout'}) | 
| 91 | 0 | 1 | 0 | $_ and $_->unsubscribe('close')->close | 
| 220 | 10 | 2 | 21 | %$_ and not $r->{'subscription'} | 
| 222 | 22 | 10 | 1 | $type eq '!re' and $r->{'subscription'} | 
| line | l | !l | condition | 
|---|---|---|---|
| 15 | 0 | 3 | $ENV{'API_MIKROTIK_DEBUG'} || 0 | 
| 182 | 13 | 15 | $err // '' | 
| line | l | !l&&r | !l&&!r | condition | 
|---|---|---|---|---|
| 213 | 16 | 5 | 0 | $self->{'responses'}{$loop} ||= 'API::MikroTik::Response'->new | 
| 219 | 5 | 16 | 0 | $r->{'data'} ||= 'Mojo::Collection'->new | 
| 222 | 6 | 1 | 10 | $type eq '!trap' or $type eq '!fatal' | 
| 227 | 10 | 5 | 0 | $r->{'data'} ||= 'Mojo::Collection'->new |