Branch Coverage

blib/lib/xsub.pm
Criterion Covered Total %
branch 17 48 35.4


line true false branch
13 1 0 @_ && !($_[0] =~ /^:/) ? :
27 1 0 if ($name)
28 1 0 defined $prototype ? :
30 0 1 if $@
43 0 3 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/autobless-1.0.1-e1nZnK/blib/lib/xsub.pm' < -M $qso)
79 0 1 unless open XS, '>', $qc
126 0 1 unless ($$_{'name'})
145 0 1 unless $$_{'name'}
150 1 0 if defined $pr
153 1 0 if defined $pr
155 1 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'};}