Condition Coverage

blib/lib/Proquint.pm
Criterion Covered Total %
condition 18 51 35.2


or 3 conditions

line l !l&&r !l&&!r condition
37 58 0 0 shift() // Carp::croak("usage: _uint16_to_chunk(\$INTEGER)")
54 58 0 0 shift() // Carp::croak("usage: _chunk_to_uint16(\$INTEGER)")
78 2 0 0 shift() // Carp::croak("usage: uint32proquint(\$INTEGER)")
79 0 2 0 shift() // $SEPARATOR
81 0 0 2 $in < 0 or $in > 4294967295
89 2 0 0 shift() // Carp::croak("usage: proquint32uint(\$QUINT)")
90 0 2 0 shift() // $SEPARATOR
107 6 0 0 shift() // Carp::croak("usage: hex2proquint(\$HEXIDECIMAL)")
108 0 6 0 shift() // $SEPARATOR
121 6 0 0 shift() // Carp::croak("usage: proquint2hex(\$QUINT)")
122 0 6 0 shift() // $SEPARATOR
136 15 0 0 shift() // Carp::croak("usage: ip2proquint(\$ADDRESS)")
137 0 15 0 shift() // $SEPARATOR
139 2 13 0 inet_pton(10, $in) // inet_pton(2, $in)
15 0 0 (inet_pton(10, $in) // inet_pton(2, $in)) // Carp::croak(sprintf("invalid IP address '%s'", $in))
147 15 0 0 shift() // Carp::croak("usage: proquint2ip(\$ADDRESS)")
148 0 15 0 shift() // $SEPARATOR