Branch Coverage

blib/lib/Blockchain/Ethereum/ABI/Type/Int.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
28 49 40 if $self->_encoded
30 1 39 unless &looks_like_number($self->{'data'})
34 0 39 if $bdata->is_nan
36 1 38 if $self->fixed_length and $bdata->length > $self->fixed_length
40 2 36 if $bdata->is_neg and $self->{'signature'} =~ /^uint|bool/u
43 1 35 if not $bdata->is_zero || $bdata->is_one and $self->{'signature'} =~ /^bool/u
45 1 34 if $bdata->is_neg
55 15 0 ref $self->{'data'} eq 'ARRAY' ? :
57 1 14 if $bdata->copy->band("0x8000000000000000000000000000000000000000000000000000000000000000")
65 61 18 if ($self->{'signature'} =~ /[a-z](\d+)/u)