| blib/lib/MikroTik/API.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 0 | 25 | 0.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 70 | 0 | 0 | 0 | $self->get_autoconnect and $self->get_host |
| 72 | 0 | 0 | 0 | $self->get_username and defined $self->get_password |
| 147 | 0 | 0 | 0 | not $self->get_username and defined $self->get_password |
| line | l | !l | condition |
|---|---|---|---|
| 101 | 0 | 0 | 'IO::Socket::SSL'->new('PeerAddr', $self->get_host, 'PeerPort', $self->get_port, 'Proto', 'tcp', 'SSL_cipher_list', 'HIGH', 'SSL_verify_mode', $self->get_ssl_verify, 'Timeout', $self->get_timeout) || die("failed connect or ssl handshake ($!: " . IO::Socket::SSL::errstr() . ')') |
| 113 | 0 | 0 | 'IO::Socket::INET'->new('PeerAddr', $self->get_host, 'PeerPort', $self->get_port, 'Proto', 'tcp', 'Timeout', $self->get_timeout) || die("failed connect ($!)") |
| 302 | 0 | 0 | $id ||= '.id' |
| 469 | 0 | 0 | $retval //= 1 |
| 507 | 0 | 0 | $retval //= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 628 | 0 | 0 | 0 | not defined $line or $line eq '' |
| 695 | 0 | 0 | 0 | not defined $line or length $line != 1 |