Condition Coverage

blib/lib/Net/DNAT.pm
Criterion Covered Total %
condition 0 35 0.0


and 3 conditions

line !l l&&!r l&&r condition
70 0 0 0 ref $old_pools_ref and ref $old_pools_ref eq 'HASH'
134 0 0 0 defined $conf_hash->{'check_for_dequeue'} and $conf_hash->{'check_for_dequeue'} > 0
162 0 0 0 $host and $port
209 0 0 0 defined $fh and defined fileno $fh
239 0 0 0 $self->{'state'} eq 'HEADERS' and $$data
291 0 0 0 not defined $pool and /^Host: ([\w\-\.]+)/m
362 0 0 0 $self->{'state'} eq 'CONTENT' and $$data
364 0 0 0 $self->{'complement_object'} and $self->{'complement_object'}{'fh'}
0 0 0 $self->{'complement_object'} and $self->{'complement_object'}{'fh'} and defined fileno $self->{'complement_object'}{'fh'}

or 2 conditions

line l !l condition
69 0 0 $conf_hash->{'pools'} || die("The 'pools' setting is missing!\n")
93 0 0 $conf_hash->{'host_switch_table'} || {}
105 0 0 $conf_hash->{'switch_filters'} || []
114 0 0 $conf_hash->{'default_pool'} || undef