Branch Coverage

blib/lib/xsub.pm
Criterion Covered Total %
branch 21 48 43.7


line true false branch
13 34 1 @_ && !($_[0] =~ /^:/) ? :
27 34 1 if ($name)
28 34 0 defined $prototype ? :
30 0 34 if $@
43 0 37 unless $i < @l and $l[$i] =~ /^(\s+)/
60 1 0 if $x
61 0 0 unless -e $so
70 0 1 unless defined @XSUB
72 0 1 unless -e $qpm
73 0 1 unless $qpm =~ /\.pm$/
74 0 1 unless ($qc = $qpm) =~ s/\.pm$/.c/
75 0 1 unless ($qso = $qpm) =~ s/\.pm$/.so/
77 0 0 if (not -e $qso or -M $qpm < -M $qso or -M '/.cpan/build/vm-1.0.1-mp2L5F/blib/lib/xsub.pm' < -M $qso)
79 0 1 unless open XS, '>', $qc
126 1 34 unless ($$_{'name'})
145 1 34 unless $$_{'name'}
150 34 0 if defined $pr
153 34 0 if defined $pr
155 34 0 if defined $pr
172 0 0 unless $qso =~ m[^/]
173 0 0 unless my $libref = DynaLoader::dl_load_file($qso, 0)
175 0 0 unless my $symref = DynaLoader::dl_find_symbol($libref, $boot_q)
176 0 0 unless DynaLoader::dl_install_xsub($boot_q, $symref, $qso)
182 0 0 unless $$_{'name'} and @{$$_{'attributes'};}