Branch Coverage

blib/lib/ExtUtils/HasCompiler.pm
Criterion Covered Total %
branch 16 60 26.6


line true false branch
74 0 2 unless $config->get('usedl')
87 0 2 if ($^O eq 'MSWin32' and $cc =~ /^cl/) { }
0 2 elsif ($^O eq 'VMS') { }
93 0 0 unless (open my $opt_fh, '>>', "$abs_basename.opt")
97 0 0 $ccflags =~ s[ /inc[^=]+ (?:=)+ (?:\()? ( [^\/\)]* ) ][]xi ? :
103 0 2 if ($^O eq 'MSWin32') { }
0 2 elsif ($^O eq 'cygwin') { }
0 2 elsif ($^O eq 'aix') { }
0 2 elsif ($^O eq 'android') { }
108 0 0 $config->get('useshrplib') ? :
121 0 2 if ($prelinking{$^O})
128 0 2 unless (printf $source_handle $loadable_object_format, $basename, $package)
129 0 2 unless (close $source_handle)
132 4 0 unless $args{'quiet'}
133 0 4 if (system $command)
137 0 2 exists $args{'skip_load'} ? :
0 2 if exists $args{'skip_load'} ? $args{'skip_load'} : $config->get('usecrosscompile')
142 0 2 if ($handle) { }
143 0 0 unless (my $symbol = DynaLoader::dl_find_symbol($handle, "boot_$basename"))
145 0 0 unless my $ret = eval { do { &$compilet(); $package->exported } }
147 0 0 unless eval { do { DynaLoader::dl_unload_file($handle) } }
163 0 0 if $config->get('useshrplib') eq 'true'
175 0 0 if ($static_unsupported_on{$^O}) { }
179 0 0 length $full_ar ? :
182 0 0 if $ranlib ne ':'
187 0 0 unless (printf $source_handle $loadable_object_format, $basename, $package)
188 0 0 unless (close $source_handle)
191 0 0 unless $args{'quiet'}
192 0 0 if (system $command)
201 0 1 $linktype eq 'static' ? :