Branch Coverage

blib/lib/SPVM/Global.pm
Criterion Covered Total %
branch 33 44 75.0


line true false branch
18 262 16 if ($API)
28 8 13334 unless ($API)
41 377 0 if (defined $basic_type_name)
53 0 377 unless ($success)
80 262 123 unless ($API)
107 1572 0 if (@$method_names)
113 1572 0 if (-f $dynamic_lib_file)
167 5954 5954 if ($category eq 'native') { }
5954 0 elsif ($category eq 'precompile') { }
174 1587 10321 if (@$category_method_names)
178 1587 0 if ($spvm_class_dir)
184 329 1258 unless (-f $dynamic_lib_file)
206 1587 0 if (-f $dynamic_lib_file)
218 8648 12834 if ($category eq 'native') { }
12834 0 elsif ($category eq 'precompile') { }
250 375 2 unless ($BIND_TO_PERL_BASIC_TYPE_NAME_H->{$perl_basic_type_name})
256 0 375 if (defined $parent_basic_type)
266 0 375 if (my $error = $@)
277 2 6991 if ($method_name eq 'DESTROY') { }
0 6991 elsif (length $method_name == 0) { }
288 6097 894 if ($is_class_method)
303 150 12214 if ($error)