Branch Coverage

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


line true false branch
24 0 36 if defined $ENV{'WASM_WASMTIME_FFI'}
37 0 36 if $lib
39 36 0 if $lib
73 169 78 if (@_ == 1) { }
119 116 218 if $size == 0
134 60 27 if not defined $opts{'delete'} or $opts{'delete'}
141 0 840 if &Devel::GlobalDestruction::in_global_destruction()
142 197 643 if (defined $self->{'ptr'} and not defined $self->{'owner'})
153 9 392 if ($type =~ /::linker$/) { }
21 371 elsif ($type =~ /::wasi/) { }
286 31 22 @$vals ? :