Condition Coverage

blib/lib/Net/Connection/Match/Ports.pm
Criterion Covered Total %
condition 12 30 40.0


and 3 conditions

line !l l&&!r l&&r condition
104 0 3 0 defined $args{'ports'} and not defined $args{'ports'}[0]
0 0 0 defined $args{'lports'} and not defined $args{'lports'}[0]
3 0 0 defined $args{'ports'} and not defined $args{'ports'}[0] and (defined $args{'lports'} and not defined $args{'lports'}[0])
0 0 0 defined $args{'fports'} and not defined $args{'fports'}[0]
0 0 0 defined $args{'ports'} and not defined $args{'ports'}[0] and (defined $args{'lports'} and not defined $args{'lports'}[0]) and (defined $args{'fports'} and not defined $args{'fports'}[0])

or 3 conditions

line l !l&&r !l&&!r condition
97 3 0 1 defined $args{'ports'} or defined $args{'fports'}
0 0 1 defined $args{'ports'} or defined $args{'fports'} or defined $args{'lports'}
239 0 4 2 defined $self->{'ports'}{$lport} or defined $self->{'ports'}{$fport}
4 0 2 defined $self->{'ports'}{$lport} or defined $self->{'ports'}{$fport} or defined $self->{'lports'}{$lport}
4 1 1 defined $self->{'ports'}{$lport} or defined $self->{'ports'}{$fport} or defined $self->{'lports'}{$lport} or defined $self->{'fports'}{$fport}