Branch Coverage

lib/Rex/Hardware/Network/OpenBSD.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
33 0 0 if ($? != 0)
39 0 0 if ($route_entry eq "Internet:")
44 0 0 if ($route_entry eq "Internet6:")
50 0 0 if ($route_entry =~ /^$/u)
56 0 0 if ($route_entry =~ /^AppleTalk/u)
62 0 0 if ($route_entry =~ /^Destination/u)
66 0 0 if ($in_v4)
85 0 0 if ($in_v6)
112 0 0 if ($new_default_gw) { }
113 0 0 if (default_gateway())
115 0 0 if ($? != 0)
121 0 0 if ($? != 0)
132 0 0 if $_->{'flags'} =~ /UG/u
134 0 0 if $default_route
143 0 0 if ($? != 0)
152 0 0 if ($line =~ /^Proto\s*Recv/u)
157 0 0 if ($line =~ /^Active Internet/u)
161 0 0 if ($line =~ /^Active UNIX/u)
167 0 0 if ($line =~ /^Address\s*Type/u)
171 0 0 if ($in_inet)
174 0 0 if ($proto eq "tcp4")
189 0 0 if ($in_unix)