Branch Coverage

blib/lib/Test/Alien.pm
Criterion Covered Total %
branch 66 112 58.9


line true false branch
29 0 0 wantarray ? :
30 0 7 if $^O eq 'MSWin32'
45 2 3 ref $alien ? :
57 4 1 if ($ok)
81 5 0 ref $command ? :
95 4 1 if (defined $exe) { }
104 1 3 if ($exit == -1) { }
1 2 elsif ($exit & 127) { }
122 2 2 $ok ? :
145 0 0 $class->can($static) && $class->can('install_type') && $class->install_type eq 'share' ? :
153 5 4 if defined $_[-1] and ref $_[-1] eq 'CODE'
160 4 5 if ($skip)
164 2 2 if $cb
169 4 1 unless ref $xs
184 1 4 if ($xs->{'xs'} =~ /\bTA_MODULE\b/)
187 1 0 unless defined $count
198 3 2 if ($xs->{'xs'} =~ /^MODULE\s*=\s*([\w:]+)(?:\s+PACKAGE\s*=\s*([\w:]+))?(?:\s+PREFIX\s*=\s*(\S+))?\s*$/m) { }
201 1 2 if $verbose
209 3 2 if ($ok)
231 1 2 if $verbose
232 1 2 if $verbose
233 0 3 if $verbose and $err
235 0 3 unless ($pxs->report_error_count == 0)
239 0 0 if $err
244 3 2 if ($ok)
258 1 2 if $verbose
259 1 2 if $verbose
260 0 3 if $verbose and $err
262 1 2 unless ($obj)
266 1 0 if $err
270 2 1 if ($ok)
284 1 1 if $verbose
285 1 1 if $verbose
286 0 2 if $verbose and $err
288 2 0 if ($lib) { }
290 1 1 if $xs->{'verbose'}
296 0 0 if $err
300 2 0 if ($ok)
309 0 2 unless move($lib, $libpath)
336 0 2 if (my $error = $@)
350 3 2 if ($cb)
356 1 2 unless $ok
372 0 0 if defined $_[-1] and ref $_[-1] eq 'CODE'
384 0 0 if $opt->{'ignore_not_found'}
385 0 0 if $opt->{'lang'}
387 0 0 if ($@)
394 0 0 if ($ok and $opt->{'lang'})
398 0 0 if ($@)
405 0 0 if ($ok)
412 0 0 unless $opt->{'symbols'}
414 0 0 unless ($ffi->find_symbol($symbol))
424 0 0 if ($skip) { }
436 0 0 if ($cb)
442 0 0 unless $ok
459 5 0 if ($^O ne 'MSWin32')
468 0 5 if ($?)