blib/lib/Wasm/Wasmtime/Instance/Exports.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 3 | 66.6 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
33 | 1 | 29 | 0 | $instance->{'exports'} ||= do { my(@exports) = $instance->_exports; my(@module_exports) = @{$instance->module->exports;}; my %exports; foreach my $i (0 .. $#exports) { $exports{$module_exports[$i]->name} = $exports[$i]; }; &Hash::Util::lock_hash(\%exports); \%exports } |