Condition Coverage

lib/Net/DNS/Dynamic/Proxyserver.pm
Criterion Covered Total %
condition 4 19 21.0


and 3 conditions

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

or 2 conditions

line l !l condition
265 0 2 $self->forwarders_port || 53
404 0 0 $self->get_in_addr_arpa($ip) || (return)

or 3 conditions

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'} $!")