Branch Coverage

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


line true false branch
40 84 38 ref $data eq 'ARRAY' ? :
49 56 10 ref $data eq 'ARRAY' ? :
62 28 14 if ($self->_signature =~ /[a-z](\d+)/u)
100 439 102 scalar @data ? :
104 82 277 (shift())->_signature =~ /(bytes|string)(?!\d+)|(\[\])/u ? :
113 20 124 if ($signature =~ /\[(\d+)?\]$/gmu) { }
12 112 elsif ($signature =~ /^\(.*\)/u) { }
22 90 elsif ($signature =~ /^address$/u) { }
63 27 elsif ($signature =~ /^(u)?(int|bool)(\d+)?$/u) { }
21 6 elsif ($signature =~ /^(?:bytes)(\d+)?$/u) { }
5 1 elsif ($signature =~ /^string$/u) { }
149 25 57 if ($param->is_dynamic) { }
175 8 31 if ($instance->is_dynamic)
180 31 8 unless $instance->is_dynamic
190 31 8 unless $instance->is_dynamic
204 8 31 if ($instance->is_dynamic)
210 31 0 unless $instance->is_dynamic