Condition Coverage

lib/Rex/Resource/firewall/Provider/ufw.pm
Criterion Covered Total %
condition 0 37 0.0


and 3 conditions

line !l l&&!r l&&r condition
93 0 0 0 $params[0] and $params[0] eq "port"
0 0 0 $params[0] and $params[0] eq "app"
120 0 0 0 $params[0] and $params[0] eq "on"
151 0 0 0 $has_app and $has_port
155 0 0 0 $has_app and $torun{'proto'}

or 2 conditions

line l !l condition
260 0 0 $rule_config->{'source'} ||= "any"
261 0 0 $rule_config->{'destination'} ||= "any"

or 3 conditions

line l !l&&r !l&&!r condition
30 0 0 0 ref $that || $that
82 0 0 0 $param eq "from" or $param eq "to"
84 0 0 0 $proto eq "tcp" or $proto eq "udp"
115 0 0 0 $direction eq "in" or $direction eq "out"
258 0 0 0 $rule_config->{'dport'} ||= $rule_config->{'port'}
259 0 0 0 $rule_config->{'dapp'} ||= $rule_config->{'app'}