Condition Coverage

blib/lib/Net/ASN.pm
Criterion Covered Total %
condition 18 48 37.5


and 3 conditions

line !l l&&!r l&&r condition
87 0 3 3 $inasn > 0 and $inasn <= 65535
0 0 3 $inasn > 65535 and $inasn <= 4294967295
88 0 0 4 $inasn > 0 and $inasn <= 65535
113 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

or 3 conditions

line l !l&&r !l&&!r condition
113 8 4 0 $firstasn > 0 || $secondasn > 0
334 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
342 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
349 2 0 0 'Net::ASN'->new($inasn, 1) || croak('Net::ASN', ': Could not create new Net::ASN object')
356 2 0 0 'Net::ASN'->new($inasn, 1) || croak('Net::ASN', ': Could not create new Net::ASN object')
363 2 0 0 'Net::ASN'->new($inasn, 1) || croak('Net::ASN', ': Could not create new Net::ASN object')
371 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
379 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')
387 2 0 0 'Net::ASN'->new($inasn) || croak('Net::ASN', ': Could not create new Net::ASN object')