Branch Coverage

blib/lib/SPVM/Dist.pm
Criterion Covered Total %
branch 12 124 9.6


line true false branch
18 0 0 if (@_) { }
29 0 6 if (@_) { }
40 2 2 if (@_) { }
51 0 2 if (@_) { }
62 0 0 if (@_) { }
73 0 2 if (@_) { }
84 0 0 if (@_) { }
95 0 0 if (@_) { }
106 0 0 if (@_) { }
117 0 0 if (@_) { }
128 0 0 if (@_) { }
139 0 0 if (@_) { }
157 0 2 unless (defined $self->class_name)
161 0 2 if (defined $self->output_dir) { }
174 0 2 if (defined $native and not $native eq 'c' || $native eq 'c++')
179 0 2 if ($resource and not defined $native)
193 0 0 if (defined $output_dir) { }
209 0 0 if ($only_lib_files) { }
228 0 0 if ($force or not -f $file) { }
241 0 0 if (@created)
253 0 0 unless (defined $user_name)
263 0 0 if ($interface)
270 0 0 if ($only_lib_files)
300 0 0 unless (defined $user_name)
306 0 0 unless (defined $user_email)
316 0 0 if ($interface) { }
0 0 elsif ($resource) { }
334 0 0 if ($native eq 'c') { }
0 0 elsif ($native eq 'c++') { }
342 0 0 if (defined $native)
343 0 0 if ($native eq 'c') { }
0 0 elsif ($native eq 'c++') { }
354 0 0 if ($native eq 'c++') { }
473 0 0 if ($only_lib_files)
525 0 0 if ($native eq 'c') { }
0 0 elsif ($native eq 'c++') { }
534 0 0 unless (defined $user_name)
570 0 0 if ($native eq 'c++') { }
581 0 0 if (defined $native)
582 0 0 if ($native eq 'c') { }
0 0 elsif ($native eq 'c++') { }
599 0 0 unless (defined $user_name)
757 0 0 $self->native && !$resource ? :
760 0 0 $self->precompile && !$resource ? :
770 0 0 unless (defined $user_name)
776 0 0 unless (defined $user_email)
906 0 0 unless (defined $user_name)
954 0 0 if ($resource) { }
990 0 0 if ($native eq 'c') { }
0 0 elsif ($native eq 'c++') { }
1027 0 0 if ($native eq 'c++') { }
1056 0 0 if (defined $native)
1057 0 0 if ($native eq 'c') { }
0 0 elsif ($native eq 'c++') { }
1074 1 1 unless (length $basic_type_name)
1078 1 0 if ($basic_type_name =~ /-/)
1086 0 0 if ($interface and $resource)
1102 0 0 unless ($no_pm_file)
1106 0 0 if ($native)
1111 0 0 unless ($resource)
1123 0 0 unless ($only_lib_files)
1148 0 0 if ($resource)