Condition Coverage

blib/lib/Blockchain/Ethereum/RLP.pm
Criterion Covered Total %
condition 17 24 70.8


and 3 conditions

line !l l&&!r l&&r condition
58 185 1 38 $input_length == 1 and ord $hex < 128
94 55 0 25 $hex =~ /^0/u and (length($hex) - 1) % 2 != 0
126 37 0 125 $prefix <= 183 and $length > $short_string
15 13 9 $prefix <= 192 and $length > $long_string
28 4 5 $prefix <= 192 and $length > $long_string and $length > $long_string + $self->_to_integer(substr($input, 1, $long_string))
6 0 26 $prefix < 247 and $length > $list
0 0 6 $prefix <= 255 and $length > $long_list
0 0 6 $prefix <= 255 and $length > $long_list and $length > $long_list + $self->_to_integer(substr($input, 1, $long_list))