blib/lib/MikroTik/API.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 24 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
76 | 0 | 0 | 0 | $self->get_autoconnect and $self->get_host |
78 | 0 | 0 | 0 | $self->get_username and defined $self->get_password |
176 | 0 | 0 | 0 | not $self->get_username and defined $self->get_password |
line | l | !l | condition |
---|---|---|---|
333 | 0 | 0 | $id ||= '.id' |
507 | 0 | 0 | $retval //= 1 |
545 | 0 | 0 | $retval //= 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
137 | 0 | 0 | 0 | 'IO::Socket::IP'->new('PeerHost', $self->get_host, 'PeerPort', $self->get_port, 'Proto', 'tcp', 'Timeout', $self->get_timeout) || croak(sprintf('failed connect %s:%s (%s)', $self->get_host, $self->get_port, $@)) |
666 | 0 | 0 | 0 | not defined $line or $line eq '' |
733 | 0 | 0 | 0 | not defined $line or length $line != 1 |