Branch Coverage

blib/lib/Language/XS.pm
Criterion Covered Total %
branch 19 52 36.5


line true false branch
75 0 1 unless exists $tmpdirs{$dir}
76 1 0 if (opendir DIR, $dir)
125 0 1 if $$self{'cachedir'}
143 0 0 if $$self{'cachedir'}
151 2 0 unless $id
153 0 2 if $code =~ /\n/
237 0 1 unless open CFILE, '>' . $$self{'cfile'}
247 0 1 $proto ? :
259 0 2 if (0 == open(CMD, '-|'))
260 0 0 unless open STDERR, '>&STDOUT'
261 0 0 unless chdir $wd
281 1 0 if ($ok)
283 0 1 if ($$self{'libs'})
294 1 0 if ($ok)
318 1 0 unless $$self{'sofile'}
320 0 1 if ($$self{'cachdir'} and not -d $$self{'cachedir'})
321 0 0 unless mkdir $$self{'cachedir'}, 493
325 0 1 if $$self{'cachedir'}
348 1 0 unless ($$self{'loaded'})
349 0 1 if (not $$self{'sofile'} or $$self{'dirty'})
350 0 0 unless $self->gen
353 0 1 unless $$self{'dl_lib'} = DynaLoader::dl_load_file($$self{'sofile'})
354 0 1 unless $$self{'dl_boot'} = DynaLoader::dl_find_symbol($$self{'dl_lib'}, "boot_$$self{'package'}")
373 0 1 unless $$self{'loaded'}
405 0 0 unless $dh->open($dir || '.')
408 0 0 if $regex