blib/lib/Wasm/Wasmtime/Instance.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
26 | 0 | 5 | if (ref $ii eq 'Wasm::Wasmtime::Extern') { } |
2 | 3 | elsif (XXX and $ii->isa('Wasm::Wasmtime::Extern')) { } | |
1 | 2 | elsif (XXX) { } | |
2 | 0 | elsif (XXX or not defined $ii) { } | |
36 | 1 | 0 | if ($mi->type->kind eq 'functype') |
49 | 2 | 0 | if ($mi->type->kind eq 'memorytype') |
55 | 1 | 1 | if defined $ii |