Branch Coverage

blib/lib/ExtUtils/Builder/BuildTools/FromPerl.pm
Criterion Covered Total %
branch 16 56 28.5


line true false branch
29 0 2 ref $raw_cc ? :
30 0 0 is_os_type('Windows', $os) ? :
2 0 is_os_type('Unix', $os) || _is_gcc($opts->{'config'}, $cc) ? :
37 0 2 if (uc $language eq 'C++') { }
0 2 elsif (uc $language ne 'C') { }
38 0 0 if ($module_name->isa('ExtUtils::Builder::Compiler::Unixy')) { }
0 0 elsif (not $module_name->isa('ExtUtils::Builder::Compiler::MSVC')) { }
39 0 0 if _is_gcc($opts->{'config'}, $cc)
40 0 0 unless $is_gpp{$cc}
53 0 0 if defined $opts->{'lddlflags'}
56 0 0 unless $opts->{'auto_optimize'}
66 0 2 ref $raw_cc ? :
68 0 2 ref $raw_ld ? :
69 1 1 $opts->{'type'} eq 'executable' ? :
73 0 2 $os eq 'MSWin32' ? :
0 0 $os eq 'MSWin32' ? :
0 0 is_os_type('Unix', $os) ? :
0 0 $os eq 'aix' ? :
2 0 _is_gcc($opts->{'config'}, $ld) ? :
0 2 $os eq 'darwin' ? :
0 2 $opts->{'type'} eq 'static-library' ? :
84 0 2 if (uc $language eq 'C++') { }
0 2 elsif (uc $language ne 'C') { }
86 0 0 if ($module_name->isa("${prefix}:ELF::GCC") or $module_name->isa("${prefix}:Mach::GCC") or $module_name->isa("${prefix}:PE::GCC")) { }
0 0 elsif (not $module->isa("${prefix}:PE::MSVC") || $module->isa("${prefix}:Ar")) { }
87 0 0 unless $is_gpp{$link}
101 0 2 $planner->can('config') ? :
103 2 0 is_os_type('Unix', $os) ? :