Condition Coverage

blib/lib/Net/IPAM/IP.pm
Criterion Covered Total %
condition 17 30 56.6


or 3 conditions

line l !l&&r !l&&!r condition
72 179 1 0 $_[1] // Carp::croak("missing argument")
124 10 18 0 ref $_[0] || $_[0]
544 1 0 9 defined Socket::inet_pton(2, "010.0.0.1") or defined Socket::inet_pton(2, "10.000.0.1")
1 0 9 defined Socket::inet_pton(2, "010.0.0.1") or defined Socket::inet_pton(2, "10.000.0.1") or defined Socket::inet_pton(10, "cafe:::")
0 0 9 defined Socket::inet_pton(2, "010.0.0.1") or defined Socket::inet_pton(2, "10.000.0.1") or defined Socket::inet_pton(10, "cafe:::") or defined Socket::inet_pton(10, "cafe::1::")
0 0 9 defined Socket::inet_pton(2, "010.0.0.1") or defined Socket::inet_pton(2, "10.000.0.1") or defined Socket::inet_pton(10, "cafe:::") or defined Socket::inet_pton(10, "cafe::1::") or defined Socket::inet_pton(10, "cafe::1:")
0 0 9 defined Socket::inet_pton(2, "010.0.0.1") or defined Socket::inet_pton(2, "10.000.0.1") or defined Socket::inet_pton(10, "cafe:::") or defined Socket::inet_pton(10, "cafe::1::") or defined Socket::inet_pton(10, "cafe::1:") or defined Socket::inet_pton(10, ":cafe::")
0 1 8 defined Socket::inet_pton(2, "010.0.0.1") or defined Socket::inet_pton(2, "10.000.0.1") or defined Socket::inet_pton(10, "cafe:::") or defined Socket::inet_pton(10, "cafe::1::") or defined Socket::inet_pton(10, "cafe::1:") or defined Socket::inet_pton(10, ":cafe::") or not defined Socket::inet_pton(10, "caFe::")
1 0 8 defined Socket::inet_pton(2, "010.0.0.1") or defined Socket::inet_pton(2, "10.000.0.1") or defined Socket::inet_pton(10, "cafe:::") or defined Socket::inet_pton(10, "cafe::1::") or defined Socket::inet_pton(10, "cafe::1:") or defined Socket::inet_pton(10, ":cafe::") or not defined Socket::inet_pton(10, "caFe::") or not defined Socket::inet_pton(10, "::")
1 0 8 defined Socket::inet_pton(2, "010.0.0.1") or defined Socket::inet_pton(2, "10.000.0.1") or defined Socket::inet_pton(10, "cafe:::") or defined Socket::inet_pton(10, "cafe::1::") or defined Socket::inet_pton(10, "cafe::1:") or defined Socket::inet_pton(10, ":cafe::") or not defined Socket::inet_pton(10, "caFe::") or not defined Socket::inet_pton(10, "::") or not defined Socket::inet_pton(2, "0.0.0.0")