Branch Coverage

blib/lib/Wasm/Wasmtime/FFI.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
24 0 35 if defined $ENV{'WASM_WASMTIME_FFI'}
37 0 35 if $lib
39 35 0 if $lib
71 169 78 if (@_ == 1) { }
117 116 218 if $size == 0
132 60 27 if not defined $opts{'delete'} or $opts{'delete'}
139 0 840 if &Devel::GlobalDestruction::in_global_destruction()
140 197 643 if (defined $self->{'ptr'} and not defined $self->{'owner'})
151 9 392 if ($type =~ /::linker$/) { }
21 371 elsif ($type =~ /::wasi/) { }
274 31 22 @$vals ? :