blib/lib/Inline/C.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 50 | 93 | 53.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
52 | 52 | 0 | 0 | $Inline::C::Config{'osname'} eq 'MSWin32' and $Inline::C::Config{'cc'} =~ /\b(cl\b|clarm|icl)/ |
52 | 0 | 0 | $Inline::C::Config{'osname'} eq 'solaris' || $Inline::C::Config{'osname'} eq 'sunos' and $Inline::C::Config{'cc'} eq 'cc' | |
52 | 0 | 0 | $Inline::C::Config{'osname'} eq 'solaris' || $Inline::C::Config{'osname'} eq 'sunos' and $Inline::C::Config{'cc'} eq 'cc' and not $Inline::C::Config{'gccversion'} | |
174 | 0 | 0 | 2 | $value =~ /^\w*$/ and not $value =~ /\n/ |
470 | 51 | 0 | 0 | not $typemap and -f $file |
472 | 51 | 0 | 0 | not $typemap and $^W |
600 | 0 | 1 | 0 | $^W and not $o->{'ILSM'}{'code'} =~ /MODULE\s*=\s*$module\b/ |
654 | 50 | 0 | 0 | defined $o->{'ILSM'}{'XS'}{'BOOT'} and $o->{'ILSM'}{'XS'}{'BOOT'} |
701 | 50 | 0 | 0 | not defined $data->{'functions'} and $^W |
729 | 38 | 43 | 0 | @arg_names and $arg_names[-1] eq '...' |
956 | 0 | 0 | 1 | not $build_noisy and open OUTPUT, $output_file |
1011 | 43351 | 9278 | 204 | /^(\w+)\s*=\s*\S+.*$/ and $fix = $fixes{$1} |
line | l | !l | condition |
---|---|---|---|
45 | 2 | 56 | $o->{'ILSM'} ||= {} |
46 | 1 | 57 | $o->{'ILSM'}{'XS'} ||= {} |
47 | 2 | 56 | $o->{'ILSM'}{'MAKEFILE'} ||= {} |
74 | 1 | 57 | $o->{'ILSM'}{'AUTO_INCLUDE'} ||= qq[#include "EXTERN.h"\n#include "perl.h"\n#include "XSUB.h"\n#include "INLINE.h"\n] |
80 | 1 | 57 | $o->{'ILSM'}{'FILTERS'} ||= [] |
82 | 1 | 57 | $o->{'STRUCT'} ||= {'.macros', '', '.xs', '', '.any', 0, '.all', 0} |
375 | 51 | 0 | flock $lockfh, 2 or die "flock: $!\n" |
845 | 0 | 51 | $o->{'API'}{'version'} || '0.00' |
933 | 50 | 0 | unlink $_ or die "Can't delete file ${_}: $!" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
52 | 0 | 0 | 52 | $Inline::C::Config{'osname'} eq 'solaris' || $Inline::C::Config{'osname'} eq 'sunos' |
107 | 0 | 1 | 24 | $key eq 'MAKE' or $key eq 'AUTOWRAP' |
1 | 1 | 23 | $key eq 'MAKE' or $key eq 'AUTOWRAP' or $key eq 'XSMODE' | |
114 | 1 | 0 | 22 | $key eq 'CC' or $key eq 'LD' |
133 | 0 | 0 | 18 | $key eq 'MYEXTLIB' or $key eq 'OPTIMIZE' |
0 | 3 | 15 | $key eq 'MYEXTLIB' or $key eq 'OPTIMIZE' or $key eq 'CCFLAGS' | |
3 | 0 | 15 | $key eq 'MYEXTLIB' or $key eq 'OPTIMIZE' or $key eq 'CCFLAGS' or $key eq 'LDDLFLAGS' | |
181 | 0 | 0 | 0 | $value eq '1' or $value eq '0' |
520 | 203 | 0 | 2651 | /^$/ or /^\#/ |
896 | 51 | 0 | 0 | -f ($perl = $Config::Config{'perlpath'}) or $perl = $^X |
906 | 0 | 51 | 0 | $o->{'ILSM'}{'MAKE'} || $Config::Config{'make'} |
914 | 0 | 50 | 0 | $o->{'ILSM'}{'MAKE'} || $Config::Config{'make'} |
1033 | 3 | 0 | 15 | $_[0] =~ /"/ or $_[0] =~ /\t/ |