blib/lib/REFECO/Blockchain/Contract/Solidity/ABI/Type/Bytes.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
13 | 16 | 12 | if $self->encoded |
15 | 0 | 12 | unless $self->data =~ /^(?:0x|0X)?([a-fA-F0-9]+)$/u |
20 | 6 | 6 | if ($self->fixed_length) { } |
25 | 0 | 6 | if $self->fixed_length and $data_length != $self->fixed_length |
39 | 5 | 4 | if ($self->fixed_length) { } |