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
85 30 1 7 $input_length == 1 and ord $hex < 128
136 33 0 16 $hex =~ /^0/u and (length($hex) - 1) % 2 != 0
167 28 0 75 $prefix <= 183 and $length > $short_string
12 11 5 $prefix <= 192 and $length > $long_string
23 2 3 $prefix <= 192 and $length > $long_string and $length > $long_string + $self->_to_integer(substr($input, 1, $long_string))
3 0 22 $prefix < 247 and $length > $list
0 0 3 $prefix <= 255 and $length > $long_list
0 0 3 $prefix <= 255 and $length > $long_list and $length > $long_list + $self->_to_integer(substr($input, 1, $long_list))