Condition Coverage

blib/lib/Net/ASN.pm
Criterion Covered Total %
condition 26 60 43.3


and 3 conditions

line !l l&&!r l&&r condition
96 0 7 7 $inasn >= 1 and $inasn <= 65535
0 0 7 $inasn >= 65536 and $inasn <= 4294967295
97 0 0 4 $inasn >= 1 and $inasn <= 65535
122 0 0 12 $firstasn >= 0 and $firstasn <= 65535
0 0 12 $secondasn >= 0 and $secondasn <= 65535
0 12 0 $firstasn >= 0 and $firstasn <= 65535 and ($secondasn >= 0 and $secondasn <= 65535)
0 12 0 $firstasn >= 0 and $firstasn <= 65535 and ($secondasn >= 0 and $secondasn <= 65535) and $firstasn > 0 || $secondasn > 0
341 2 4 2 $asn >= 64512 and $asn <= 65534
4 0 2 $asn >= 4200000000 and $asn <= 4294967294

or 3 conditions

line l !l&&r !l&&!r condition
122 8 4 0 $firstasn > 0 || $secondasn > 0
341 2 0 6 $asn >= 64512 and $asn <= 65534 or $asn >= 4200000000 and $asn <= 4294967294
354 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
362 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
369 2 0 0 'Net::ASN'->new($inasn, 1) || croak('Net::ASN', ': Could not create new Net::ASN object')
376 2 0 0 'Net::ASN'->new($inasn, 1) || croak('Net::ASN', ': Could not create new Net::ASN object')
383 2 0 0 'Net::ASN'->new($inasn, 1) || croak('Net::ASN', ': Could not create new Net::ASN object')
391 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
399 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
407 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
415 4 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')