Condition Coverage

blib/lib/Net/Routing/FreeBSD.pm
Criterion Covered Total %
condition 19 21 90.4


and 3 conditions

line !l l&&!r l&&r condition
90 3 3 22 defined $route and defined $gateway
6 3 19 defined $route and defined $gateway and defined $interface
116 3 16 0 $gateway =~ /^[0-9\.]+$/ and $route =~ m[^[0-9\.]+(?:/\d+)?$]
200 3 3 52 defined $route and defined $gateway
6 3 49 defined $route and defined $gateway and defined $interface
226 5 44 0 $route =~ m[^[0-9a-f:/]+$]i and $gateway =~ m[^[0-9a-f:/]+$]i

or 3 conditions

line l !l&&r !l&&!r condition
202 23 15 11 $gateway =~ /^link/ or $gateway eq '::1'