| lib/Net/DNS/Dynamic/Proxyserver.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 4 | 19 | 21.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 298 | 1 | 0 | 0 | $self->ask_etc_hosts and $qtype eq 'A' || $qtype eq 'PTR' |
| 497 | 0 | 0 | 0 | $self->dbh and $self->dbh->ping |
| line | l | !l | condition |
|---|---|---|---|
| 265 | 0 | 2 | $self->forwarders_port || 53 |
| 404 | 0 | 0 | $self->get_in_addr_arpa($ip) || (return) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 298 | 0 | 0 | 0 | $qtype eq 'A' || $qtype eq 'PTR' |
| 360 | 0 | 1 | 6 | $self->debug or $force_flag |
| 501 | 0 | 0 | 0 | 'DBI'->connect($$args{'dsn'}, $$args{'user'}, $$args{'pass'}) || croak("can not connect to database $$args{'dsn'} $!") |