blib/lib/Net/Routing/NetBSD.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 16 | 21 | 76.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
41 | 1 | 1 | 7 | defined $route and defined $gateway |
2 | 1 | 6 | defined $route and defined $gateway and defined $interface | |
53 | 1 | 5 | 0 | $gateway =~ /^[0-9\.]+$/ and $route =~ m[^[0-9\.]+(?:/\d+)?$] |
131 | 0 | 1 | 3 | defined $route and defined $gateway |
1 | 0 | 3 | defined $route and defined $gateway and defined $interface | |
155 | 1 | 2 | 0 | $route =~ m[^[0-9a-f:/]+$]i and $gateway =~ m[^[0-9a-f:/]+$]i |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 0 | 2 | 1 | $gateway =~ /^link/ or $gateway eq '::1' |