Branch Coverage

blib/lib/REFECO/Blockchain/Contract/Solidity/ABI/Type.pm
Criterion Covered Total %
branch 33 34 97.0


line true false branch
39 84 38 ref $data eq 'ARRAY' ? :
48 56 10 ref $data eq 'ARRAY' ? :
73 28 14 if ($self->signature =~ /[a-z](\d+)/)
185 439 102 scalar @data ? :
201 82 277 (shift())->signature =~ /(bytes|string)(?!\d+)|(\[\])/ ? :
224 20 124 if ($signature =~ /\[(\d+)?\]$/gm) { }
12 112 elsif ($signature =~ /^\(.*\)/) { }
22 90 elsif ($signature =~ /^address$/) { }
63 27 elsif ($signature =~ /^(u)?(int|bool)(\d+)?$/) { }
21 6 elsif ($signature =~ /^(?:bytes)(\d+)?$/) { }
5 1 elsif ($signature =~ /^string$/) { }
271 25 57 if ($param->is_dynamic) { }
309 8 31 if ($instance->is_dynamic)
314 31 8 unless $instance->is_dynamic
324 31 8 unless $instance->is_dynamic
338 8 31 if ($instance->is_dynamic)
344 31 0 unless $instance->is_dynamic