Branch Coverage

lib/Rex/Hardware/Network/Solaris.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
56 0 0 if ($? != 0)
67 0 0 if ($route_entry =~ /^$/u or $route_entry =~ /^Routing Table:/u or $route_entry =~ /^\s+Destination/u or $route_entry =~ /^---------/u)
98 0 0 if ($new_default_gw) { }
99 0 0 if (default_gateway())
101 0 0 if ($? != 0)
107 0 0 if ($? != 0)
118 0 0 if $_->{'flags'} =~ /UG/u
120 0 0 if $default_route
128 0 0 if ($? != 0)
135 0 0 if ($line =~ /^$/u or $line =~ /^\s+Local/u or $line =~ /^--------/u)
142 0 0 if ($line =~ /^UDP: IPv4/u)
153 0 0 if ($line =~ /^UDP: IPv6/u)
164 0 0 if ($line =~ /^TCP: IPv4/u)
175 0 0 if ($line =~ /^TCP: IPv6/u)
186 0 0 if ($line =~ /^SCTP:/u)
199 0 0 if ($udp_v4)
215 0 0 if ($udp_v6)
232 0 0 if ($tcp_v4)
251 0 0 if ($tcp_v6)
272 0 0 if ($sctp)