Branch Coverage

blib/lib/Config/AutoConf.pm
Criterion Covered Total %
branch 327 716 45.6


line true false branch
10 0 4 $^O eq 'MSWin32' ? :
154 0 9 if ref $class
159 0 0 unless defined $v
161 0 9 if $ENV{'PERL5_AC_OPTS'}
207 0 0 if -f $file
225 0 0 unless $self->check_file($_)
231 0 184 scalar Text::ParseWords::shellwords($_[0]) > 1 ? :
263 0 20 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
266 0 20 if @_ and scalar @_ > 1
267 17 0 if @_ and scalar @_ == 1 and ref $_[0] eq 'ARRAY'
268 3 17 unless @dirlist
275 5 160 if my $is_executable = -x $cmd
279 0 5 if $is_executable and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
280 5 160 if $is_executable
286 0 15 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
311 0 7 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
314 0 7 if scalar @_ > 1 and ref $_[-1] eq 'ARRAY'
315 7 0 unless @dirlist
320 0 17 unless defined $prog
326 0 4 if $ans and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
328 4 13 if $ans
333 0 3 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
362 1 1 if defined $ENV{'YACC'}
364 0 1 if defined $binary and $binary =~ /bison(?:\.(?:exe|com|bat|cmd))?$/
390 1 1 unless $ENV{'AWK'}
415 1 1 if defined $ENV{'EGREP'}
417 1 0 if $grep = $self->check_progs('egrep')
419 0 0 if ($grep = $self->check_prog('grep'))
424 0 0 if $ans eq 'a'
455 1 0 unless $ENV{'LEX'}
456 0 1 if ($lex)
458 0 0 unless defined $self->{'lex'}{'prog'}
496 0 0 if -f 'lex.yy.c'
497 0 0 if -f 'lexyy.c'
501 0 0 unless defined $self->{'lex'}{'root'}
514 0 0 if defined $libstest
515 0 0 defined $libstest ? :
0 0 if $self->link_if_else($conftest) and $have_lib = defined $libstest ? $libstest : 'none required'
521 0 0 if ($have_lib) { }
533 0 0 unless defined $self->{'lex'}{'lib'}
559 1 1 unless $ENV{'SED'}
592 0 6 if $@
594 0 6 unless $cb->have_compiler
621 0 0 unless $lang eq 'C'
640 0 0 unless $supp
656 123 0 unless $self->{'quiet'}
671 6 262 unless defined $_[0]
672 162 100 if &looks_like_number($_[0]) and defined $_num_to_msg[$_[0]]
680 123 0 unless $self->{'quiet'}
695 0 0 unless $self->{'quiet'}
758 0 90 unless defined $name
776 1 0 ref $_[0] ? :
1 2 defined $_[0] ? :
801 129 19 if ($defcnt->[0]) { }
803 129 0 if defined $defcnt->[1]
808 19 0 if defined $defcnt->[1]
847 0 0 unless scalar @{$self->{'lang_stack'};} > 0
850 0 0 if defined $_[0] and $self->{'lang'} ne $_[0]
893 0 177 unless ref $self
895 0 177 unless defined $prologue
896 0 177 unless defined $body
905 0 14 unless ref $self
907 0 14 unless defined $prologue
927 0 13 unless ref $self
944 0 13 unless ref $self
952 0 0 unless ref $self
954 0 0 unless defined $prologue
969 0 1 unless ref $self
991 0 1 unless ref $self
1007 0 82 unless ref $self
1009 0 82 unless defined $test
1014 42 40 if (@decls)
1032 0 0 unless ref $self
1048 0 0 unless ref $self
1064 0 0 unless ref $self
1067 0 0 if (scalar @compiler_flags and ref $compiler_flags[-1] eq 'HASH')
1070 0 0 unless defined $lang_opt->{'lang'}
1072 0 0 unless defined $self->{'lang_supported'}{$lang}
1089 0 0 unless ref $self
1105 0 0 unless ref $self
1121 0 0 unless ref $self
1141 0 162 unless ref $self
1144 37 125 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1172 0 162 if $obj_file and not -f $obj_file
1173 90 72 if $obj_file
1175 72 90 if ($exception or not $obj_file)
1177 72 0 $exception ? :
1178 72 0 if $errbuf
1181 72 0 if $outbuf
1186 0 72 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
1193 0 90 if $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1211 0 17 unless ref $self
1213 16 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1240 0 17 if $obj_file and not -f $obj_file
1242 1 16 if ($exception or not $obj_file)
1244 1 0 $exception ? :
1245 1 0 if $errbuf
1248 1 0 if $outbuf
1252 0 1 if $obj_file
1256 0 1 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
1274 0 16 if $exe_file and not -f $exe_file
1277 16 0 if $obj_file
1278 13 3 if $exe_file
1280 3 13 if ($exception or not $exe_file)
1282 3 0 $exception ? :
1283 3 0 if $errbuf
1286 3 0 if $outbuf
1291 1 2 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
1298 9 4 if $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1318 0 123 unless ref $self
1320 101 22 if scalar @_ > 4 and ref $_[-1] eq 'HASH'
1326 6 117 if defined $ENV{$cache_name} and not defined $self->{'cache'}{$cache_name}
1329 11 112 if defined $self->{'cache'}{$cache_name}
1330 112 11 unless defined $self->{'cache'}{$cache_name}
1337 83 13 if $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE' and $self->{'cache'}{$cache_name}
1342 13 76 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $self->{'cache'}{$cache_name}
1356 0 86 unless ref $self
1357 0 86 unless defined $self->{'cache'}{$cache_name}
1390 5 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1392 0 5 unless defined $symbol
1393 0 5 unless ref $symbol eq ''
1414 0 5 $options->{'action_on_true'} ? :
0 5 $options->{'action_on_false'} ? :
1427 0 5 $options->{'action_on_cache_true'} ? :
0 5 $options->{'action_on_cache_false'} ? :
1459 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1462 1 0 if defined $options->{'prologue'}
1463 0 1 if defined $options->{'action_on_cache_true'}
1464 0 1 if defined $options->{'action_on_cache_false'}
1481 0 3 $options->{'action_on_symbol_true'} && 'CODE' eq ref $options->{'action_on_symbol_true'} ? :
0 3 $options->{'action_on_symbol_false'} && 'CODE' eq ref $options->{'action_on_symbol_false'} ? :
1490 0 1 if $have_syms and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1495 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_syms
1529 3 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1539 3 1 $options->{'action_on_true'} ? :
1 3 $options->{'action_on_false'} ? :
1559 0 4 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
1565 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
1594 0 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1597 0 1 if defined $options->{'action_on_cache_true'}
1598 0 1 if defined $options->{'action_on_cache_false'}
1613 0 2 if defined $options->{'action_on_function_true'} and ref $options->{'action_on_function_true'} eq 'CODE'
1618 0 2 if defined $options->{'action_on_function_false'} and ref $options->{'action_on_function_false'} eq 'CODE'
1626 0 1 if $have_funcs and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1631 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_funcs
1666 0 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1676 0 1 $options->{'action_on_true'} ? :
0 1 $options->{'action_on_false'} ? :
1696 0 0 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
1702 0 1 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
1744 4 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1746 0 5 unless defined $type
1747 0 5 unless ref $type eq ''
1762 0 4 $options->{'action_on_true'} ? :
0 4 $options->{'action_on_false'} ? :
1778 0 5 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
1784 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
1813 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1816 1 0 if defined $options->{'prologue'}
1817 0 1 if defined $options->{'action_on_cache_true'}
1818 0 1 if defined $options->{'action_on_cache_false'}
1835 0 3 $options->{'action_on_type_true'} && 'CODE' eq ref $options->{'action_on_type_true'} ? :
0 3 $options->{'action_on_type_false'} && 'CODE' eq ref $options->{'action_on_type_false'} ? :
1844 0 1 if $have_types and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1849 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_types
1862 10 1 if ($self->compile_if_else($self->lang_build_bool_test($prologue, "((long int)($expr)) >= 0", @decls))) { }
1 0 elsif ($self->compile_if_else($self->lang_build_bool_test($prologue, "((long int)($expr)) < 0", @decls))) { }
1867 10 27 if ($self->compile_if_else($self->lang_build_bool_test($prologue, "((long int)($expr)) <= $mid", @decls)))
1874 0 27 if ($low <= $mid)
1887 1 1 if ($self->compile_if_else($self->lang_build_bool_test($prologue, "((long int)($expr)) >= $mid", @decls)))
1894 0 1 if ($mid < $high)
1907 7 12 if ($self->compile_if_else($self->lang_build_bool_test($prologue, "((long int)($expr)) < $mid", @decls))) { }
1 11 elsif ($self->compile_if_else($self->lang_build_bool_test($prologue, "((long int)($expr)) > $mid", @decls))) { }
1953 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1964 0 1 if defined $val and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1969 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not defined $val
1987 0 1 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
1993 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2035 6 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2038 0 6 unless defined $type
2039 0 6 unless ref $type eq ''
2044 1 4 if ($type =~ /^([^.]+)\.([^.]+)$/)
2057 0 5 if $typesize and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2062 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $typesize
2080 0 6 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2086 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2116 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2121 1 0 if defined $options->{'prologue'}
2122 0 1 if defined $options->{'action_on_cache_true'}
2123 0 1 if defined $options->{'action_on_cache_false'}
2141 0 5 $options->{'action_on_size_true'} && 'CODE' eq ref $options->{'action_on_size_true'} ? :
0 5 $options->{'action_on_size_false'} && 'CODE' eq ref $options->{'action_on_size_false'} ? :
2151 0 1 if $have_sizes and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2156 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_sizes
2193 7 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2196 0 7 unless defined $type
2197 0 7 unless ref $type eq ''
2210 1 4 if ($type =~ /^([^.]+)\.([^.]+)$/) { }
2227 0 5 if $typealign and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2232 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $typealign
2250 0 7 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2256 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2286 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2291 1 0 if defined $options->{'prologue'}
2292 0 1 if defined $options->{'action_on_cache_true'}
2293 0 1 if defined $options->{'action_on_cache_false'}
2311 0 5 $options->{'action_on_align_true'} && 'CODE' eq ref $options->{'action_on_align_true'} ? :
0 5 $options->{'action_on_align_false'} && 'CODE' eq ref $options->{'action_on_align_false'} ? :
2321 0 1 if $have_aligns and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2326 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_aligns
2375 32 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2378 0 32 unless defined $member
2379 0 32 unless ref $member eq ''
2381 0 32 unless $member =~ /^([^.]+)\.([^.]+)$/
2396 10 22 unless ($have_member)
2410 0 23 if $have_member and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2414 9 23 unless $have_member
2433 0 23 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2439 0 9 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2467 2 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2472 2 0 if defined $options->{'prologue'}
2473 0 2 if defined $options->{'action_on_cache_true'}
2474 0 2 if defined $options->{'action_on_cache_false'}
2492 0 30 $options->{'action_on_member_true'} && 'CODE' eq ref $options->{'action_on_member_true'} ? :
0 30 $options->{'action_on_member_false'} && 'CODE' eq ref $options->{'action_on_member_false'} ? :
2502 0 2 if $have_members and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2507 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_members
2523 28 0 if scalar @_ > 4 and ref $_[-1] eq 'HASH'
2561 24 6 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2564 0 30 unless defined $header
2565 0 30 unless ref $header eq ''
2567 0 30 unless $header
2570 0 27 defined $options->{'prologue'} ? :
2578 0 27 $options->{'action_on_true'} ? :
0 27 $options->{'action_on_false'} ? :
2598 0 28 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2604 0 2 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2623 0 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2648 2 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2650 0 2 unless @_
2653 0 2 if defined $options->{'prologue'}
2654 0 2 if defined $options->{'action_on_cache_true'}
2655 0 2 if defined $options->{'action_on_cache_false'}
2672 0 22 $options->{'action_on_header_true'} && 'CODE' eq ref $options->{'action_on_header_true'} ? :
0 22 $options->{'action_on_header_false'} && 'CODE' eq ref $options->{'action_on_header_false'} ? :
2681 0 2 if $all_headers and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2686 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $all_headers
2709 1 0 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
2715 1 0 if $rc
2731 0 1 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
2733 1 0 if $self->check_stdc_headers($options)
2802 0 1 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
2806 0 1 if defined $options->{'prologue'}
2811 1 0 if ($self->check_header($header))
2830 0 1 $options->{'action_on_header_true'} && 'CODE' eq ref $options->{'action_on_header_true'} ? :
0 1 $options->{'action_on_header_false'} && 'CODE' eq ref $options->{'action_on_header_false'} ? :
2849 0 1 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2855 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2860 1 0 if $have_dirent and $have_dirent = $header
2867 0 1 if $have_dirent and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2872 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_dirent
2936 0 0 unless $self->check_compile_perlapi(@_)
2958 0 0 unless $self->check_linkable_xs_so(@_)
2980 0 0 unless $self->check_loadable_xs_so(@_)
3008 1 0 if ($Config::AutoConf::Config{'perllibs'})
3012 7 0 if $perllib =~ /^\-l(\w+)$/ and push @{$$self{'extra_libs'};}, "$1"
3019 0 1 unless $have_libperl
3020 0 1 unless $have_libperl
3087 0 2 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3091 0 2 unless $lib and $func
3095 0 2 if scalar @other_libs == 1 and ref $other_libs[0] eq 'ARRAY'
3107 0 2 $options->{'action_on_true'} ? :
0 2 $options->{'action_on_false'} ? :
3129 0 1 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
3135 0 1 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
3189 6 1 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3193 0 7 unless defined $libs and 'ARRAY' eq ref $libs and scalar @{$libs;} > 0
3195 0 7 unless $func
3199 0 7 if scalar @other_libs == 1 and ref $other_libs[0] eq 'ARRAY'
3203 0 7 if scalar @other_link_flags == 1 and ref $other_link_flags[0] eq 'ARRAY'
3215 2 7 if defined $libstest
3227 2 5 defined $libstest ? :
7 2 $options->{'action_on_lib_true'} && 'CODE' eq ref $options->{'action_on_lib_true'} ? :
7 2 $options->{'action_on_lib_false'} && 'CODE' eq ref $options->{'action_on_lib_false'} ? :
7 2 if $self->link_if_else($conftest, {$options->{'action_on_lib_true'} && 'CODE' eq ref $options->{'action_on_lib_true'} ? ('action_on_true', sub { $options->{'action_on_lib_true'}->($libstest, @other, @_); } ) : (), $options->{'action_on_lib_false'} && 'CODE' eq ref $options->{'action_on_lib_false'} ? ('action_on_false', sub { $options->{'action_on_lib_false'}->($libstest, @other, @_); } ) : ()})
3241 0 9 if (defined $libstest and scalar @other_libs > 1 and ref $other_libs[0] eq 'ARRAY') { }
3245 0 0 if &$if_else_sub($libstest, @{$ol;})
3250 7 2 if &$if_else_sub($libstest, @other_libs)
3260 0 7 if $have_lib and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
3265 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_lib
3277 2 5 unless $self->cache_val($cache_name) eq 'none required'
3281 0 7 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
3283 0 7 $options->{'action_on_cache_false'} ? :
3319 3 0 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3324 1 2 if defined $options->{'action_on_lib_true'} and defined $options->{'action_on_func_lib_true'}
3327 1 1 if defined $options->{'action_on_lib_false'} and defined $options->{'action_on_func_lib_false'}
3330 0 1 if defined $options->{'action_on_cache_true'}
3331 0 1 if defined $options->{'action_on_cache_false'}
3332 0 1 if defined $options->{'action_on_lib_true'}
3333 0 1 if defined $options->{'action_on_lib_false'}
3363 0 6 $options->{'action_on_func_true'} && 'CODE' eq ref $options->{'action_on_func_true'} ? :
0 6 $options->{'action_on_func_false'} && 'CODE' eq ref $options->{'action_on_func_false'} ? :
6 0 $options->{'action_on_func_lib_true'} && 'CODE' eq ref $options->{'action_on_func_lib_true'} ? :
6 0 $options->{'action_on_func_lib_false'} && 'CODE' eq ref $options->{'action_on_func_lib_false'} ? :
3368 0 6 unless $ans
3369 1 5 if $ans ne 'none required'
3375 0 1 if not $fail and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
3380 0 0 if $fail and $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
3436 0 0 unless defined $_pkg_config_prog
3441 0 0 if 0 == $exit
3448 0 0 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3455 0 0 unless defined $_pkg_config_prog
3456 0 0 unless defined $_pkg_config_prog
3468 0 0 if &looks_like_number($pkg_exists) and $pkg_exists == 0
3472 0 0 defined $ENV{$ENV_CFLAGS} ? :
3477 0 0 if $CFLAGS and not &looks_like_number($CFLAGS) and @pkg_cflags = map({$_ =~ s/^\s+//; $_ =~ s/\s+$//; Text::ParseWords::shellwords($_);} split(/\n/, $CFLAGS, 0))
3482 0 0 defined $ENV{$ENV_LIBS} ? :
3485 0 0 if $LIBS and not &looks_like_number($LIBS)
3488 0 0 if @pkg_libs
3489 0 0 if @pkg_libs
3496 0 0 if $pkg_config_flags and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
3501 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $pkg_config_flags
3512 0 0 $options->{'action_on_cache_true'} ? :
0 0 $options->{'action_on_cache_false'} ? :
3530 0 0 if defined $ENV{'PERL_MM_OPT'}
3534 0 0 if $arg =~ /^PUREPERL_ONLY=(.*)$/
3551 0 0 if defined $ENV{'PERL_MB_OPT'}
3555 0 0 if $arg eq '--pureperl-only'
3575 0 0 if $0 =~ /Makefile\.PL$/i
3576 0 0 if $0 =~ /Build\.PL$/i
3629 0 0 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3631 0 0 if $self->check_pureperl_required
3632 0 0 unless eval { do { $self->check_valid_compilers($_[0] || ['C']) } }
3639 0 0 if $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
3662 0 0 if $self->check_produce_xs_build(@_) and not $self->{'c_ac_flags'}{'notest_loadable_xs'} and $self->check_linkable_xs_so_or_die
3702 1605 15 if ref $_[0]
3703 3 12 unless defined $glob_instance
3711 6 173 if ref $self->{'lang_supported'}{$self->{'lang'}} eq 'CODE'
3712 0 179 unless defined $self->{'lang_supported'}{$self->{'lang'}}
3722 0 0 unless defined $lang
3727 0 0 if defined $impl and defined $self->{'lang_supported'}{$lang} and $impl ne $self->{'lang_supported'}{$lang}
3731 0 0 if defined $impl and not defined $self->{'lang_supported'}{$lang}
3733 0 0 if ref $self->{'lang_supported'}{$lang} eq 'CODE'
3734 0 0 unless defined $self->{'lang_supported'}{$lang}
3736 0 0 unless defined $self->{'extra_compile_flags'}{$lang}
3749 0 0 if $options->{$callback} and ref $options->{$callback} eq 'CODE'
3750 0 0 if @_ and wantarray
3751 0 0 if 1 == scalar @_
3758 0 177 unless ref $self
3763 133 5893 unless $defcnt->[0]
3764 5893 0 if defined $defcnt->[1]
3907 9 545 unless (defined $self->{'logfh'})
3909 0 9 defined $self->{'logfile_mode'} ? :
3910 0 9 unless open my $fh, $open_mode, $self->{'logfile'}
3920 0 246 unless ref $self
3936 0 304 unless ref $self
3962 0 2 if $fh == $eh
3986 2 2 unless $fh == $self->{'logfh'}[$ih]