blib/lib/Language/XS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 11 | 35 | 31.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
280 | 0 | 0 | 1 | $ok &&= -e $$self{'ofile'} |
292 | 0 | 0 | 1 | $ok &&= -e $$self{'sofile'} |
320 | 1 | 0 | 0 | $$self{'cachdir'} and not -d $$self{'cachedir'} |
323 | 0 | 0 | 1 | $self->gen_cfile && $self->gen_sofile |
line | l | !l | condition |
---|---|---|---|
66 | 0 | 1 | $ENV{'TMPDIR'} || '/tmp' |
190 | 0 | 1 | $id or 'default' |
374 | 0 | 1 | $fun or 'default' |
405 | 0 | 0 | $dir || '.' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
125 | 0 | 0 | 0 | $$self{'sofile'} ||= 'File::Spec'->catfile($$self{'cachedir'}, "$$self{'id'}.$Config{'dlext'}") |
315 | 0 | 1 | 0 | $$self{'tmpdir'} ||= tmpdir_create() |
318 | 0 | 1 | 0 | $$self{'sofile'} ||= 'File::Spec'->catfile($$self{'tmpdir'}, "$$self{'id'}.$Config{'dlext'}") |
319 | 0 | 1 | 0 | $$self{'cfile'} ||= 'File::Spec'->catfile($$self{'tmpdir'}, "$$self{'id'}.c") |
349 | 0 | 0 | 1 | not $$self{'sofile'} or $$self{'dirty'} |