Condition Coverage

lib/Rex/Commands/Iptables.pm
Criterion Covered Total %
condition 2 23 8.7


and 3 conditions

line !l l&&!r l&&r condition
531 0 0 0 exists $option->{'dev'} and not ref $option->{'dev'}
612 0 0 0 defined $params->[0] and not ref $params->[0]

or 2 conditions

line l !l condition
251 0 0 $option->{'proto'} ||= "tcp"

or 3 conditions

line l !l&&r !l&&!r condition
311 0 0 0 $params[0] eq "flush" or $params[0] eq "-flush"
0 0 0 $params[0] eq "flush" or $params[0] eq "-flush" or $params[0] eq "-F"
469 0 2 15 /^\s+$/u || /^$/u
588 0 0 0 $check_rule[0] eq "D" or $check_rule[0] eq "A"
613 0 0 0 $params->[0] eq -4 or $params->[0] eq -6