Branch Coverage

lib/Rex/Helper/IP.pm
Criterion Covered Total %
branch 10 10 100.0


line true false branch
17 2 1 if (is_ipv4($ip) or is_ipv6($ip))
28 2 6 if ($server =~ /:(\d+)$/u and not is_ipv6($server))
32 3 3 if ($server =~ m[/(\d+)$]u)
36 2 1 if (is_ip($server)) { }
37 1 1 if (is_ipv6($server)) { }