Condition Coverage

blib/lib/Net/Connection/Match/CIDR.pm
Criterion Covered Total %
condition 5 9 55.5


and 3 conditions

line !l l&&!r l&&r condition
151 0 5 1 $object->foreign_host ne '*' and eval { do { Net::CIDR::cidrlookup($object->foreign_host, $self->{'cidrs'}[$cidrs_int]) } }
0 5 0 $object->local_host ne '*' and eval { do { Net::CIDR::cidrlookup($object->local_host, $self->{'cidrs'}[$cidrs_int]) } }

or 3 conditions

line l !l&&r !l&&!r condition
151 1 0 5 $object->foreign_host ne '*' and eval { do { Net::CIDR::cidrlookup($object->foreign_host, $self->{'cidrs'}[$cidrs_int]) } } or $object->local_host ne '*' and eval { do { Net::CIDR::cidrlookup($object->local_host, $self->{'cidrs'}[$cidrs_int]) } }