Condition Coverage

lib/Rex/Resource/firewall/Provider/iptables.pm
Criterion Covered Total %
condition 0 39 0.0


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 0 $rule_config->{'source'} and not $rule_config->{'source'} =~ m[/(\d+)$]u
0 0 0 $rule_config->{'source'} and not $rule_config->{'source'} =~ m[/(\d+)$]u and $self->_version->[0] >= 1
0 0 0 $rule_config->{'source'} and not $rule_config->{'source'} =~ m[/(\d+)$]u and $self->_version->[0] >= 1 and $self->_version->[1] >= 4
103 0 0 0 $rule_config->{'source'} and not $rule_config->{'source'} =~ m[/(\d+)$]u
0 0 0 $rule_config->{'source'} and not $rule_config->{'source'} =~ m[/(\d+)$]u and $self->_version->[0] >= 1
0 0 0 $rule_config->{'source'} and not $rule_config->{'source'} =~ m[/(\d+)$]u and $self->_version->[0] >= 1 and $self->_version->[1] >= 4

or 2 conditions

line l !l condition
33 0 0 $rule_config->{'proto'} ||= "tcp"
34 0 0 $rule_config->{'chain'} ||= "INPUT"
35 0 0 $rule_config->{'ip_version'} ||= -4
98 0 0 $rule_config->{'proto'} ||= "tcp"
99 0 0 $rule_config->{'chain'} ||= "INPUT"
101 0 0 $rule_config->{'ip_version'} ||= -4

or 3 conditions

line l !l&&r !l&&!r condition
19 0 0 0 ref $that || $that
32 0 0 0 $rule_config->{'dport'} ||= $rule_config->{'port'}
97 0 0 0 $rule_config->{'dport'} ||= $rule_config->{'port'}