Condition Coverage

lib/Rex/Helper/IP.pm
Criterion Covered Total %
condition 7 9 77.7


and 3 conditions

line !l l&&!r l&&r condition
28 5 1 2 $server =~ /:(\d+)$/u and not is_ipv6($server)

or 3 conditions

line l !l&&r !l&&!r condition
17 1 1 1 is_ipv4($ip) or is_ipv6($ip)
48 0 0 3 $rp ||= $default_port