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 13366 unless ($API)
41 379 0 if (defined $basic_type_name)
53 0 379 unless ($success)
80 262 125 unless ($API)
107 1572 0 if (@$method_names)
113 1572 0 if (-f $dynamic_lib_file)
167 6054 6054 if ($category eq 'native') { }
6054 0 elsif ($category eq 'precompile') { }
174 1617 10491 if (@$category_method_names)
178 1617 0 if ($spvm_class_dir)
184 341 1276 unless (-f $dynamic_lib_file)
206 1617 0 if (-f $dynamic_lib_file)
218 9048 13150 if ($category eq 'native') { }
13150 0 elsif ($category eq 'precompile') { }
250 377 2 unless ($BIND_TO_PERL_BASIC_TYPE_NAME_H->{$perl_basic_type_name})
256 0 377 if (defined $parent_basic_type)
266 0 377 if (my $error = $@)
277 2 7487 if ($method_name eq 'DESTROY') { }
0 7487 elsif (length $method_name == 0) { }
288 6567 920 if ($is_class_method)
303 150 12246 if ($error)