Branch Coverage

blib/lib/Config/AutoConf.pm
Criterion Covered Total %
branch 324 712 45.5


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
278 0 5 if -x $cmd and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
279 5 160 if -x $cmd
285 0 15 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
310 0 7 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
313 0 7 if scalar @_ > 1 and ref $_[-1] eq 'ARRAY'
314 7 0 unless @dirlist
319 0 17 unless defined $prog
325 0 4 if $ans and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
327 4 13 if $ans
332 0 3 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
361 1 1 if defined $ENV{'YACC'}
363 0 1 if defined $binary and $binary =~ /bison(?:\.(?:exe|com|bat|cmd))?$/
389 1 1 unless $ENV{'AWK'}
414 1 1 if defined $ENV{'EGREP'}
416 1 0 if $grep = $self->check_progs('egrep')
418 0 0 if ($grep = $self->check_prog('grep'))
423 0 0 if $ans eq 'a'
454 1 0 unless $ENV{'LEX'}
455 0 1 if ($lex)
457 0 0 unless defined $self->{'lex'}{'prog'}
495 0 0 if -f 'lex.yy.c'
496 0 0 if -f 'lexyy.c'
500 0 0 unless defined $self->{'lex'}{'root'}
513 0 0 if defined $libstest
514 0 0 defined $libstest ? :
0 0 if $self->link_if_else($conftest) and $have_lib = defined $libstest ? $libstest : 'none required'
520 0 0 if ($have_lib) { }
532 0 0 unless defined $self->{'lex'}{'lib'}
558 1 1 unless $ENV{'SED'}
591 0 6 if $@
593 0 6 unless $cb->have_compiler
620 0 0 unless $lang eq 'C'
639 0 0 unless $supp
655 123 0 unless $self->{'quiet'}
670 6 262 unless defined $_[0]
671 162 100 if &looks_like_number($_[0]) and defined $_num_to_msg[$_[0]]
679 123 0 unless $self->{'quiet'}
694 0 0 unless $self->{'quiet'}
757 0 90 unless defined $name
775 1 0 ref $_[0] ? :
1 2 defined $_[0] ? :
800 129 19 if ($defcnt->[0]) { }
802 129 0 if defined $defcnt->[1]
807 19 0 if defined $defcnt->[1]
846 0 0 unless scalar @{$self->{'lang_stack'};} > 0
849 0 0 if defined $_[0] and $self->{'lang'} ne $_[0]
892 0 177 unless ref $self
894 0 177 unless defined $prologue
895 0 177 unless defined $body
904 0 14 unless ref $self
906 0 14 unless defined $prologue
926 0 13 unless ref $self
943 0 13 unless ref $self
951 0 0 unless ref $self
953 0 0 unless defined $prologue
968 0 1 unless ref $self
990 0 1 unless ref $self
1006 0 82 unless ref $self
1008 0 82 unless defined $test
1013 42 40 if (@decls)
1031 0 0 unless ref $self
1047 0 0 unless ref $self
1063 0 0 unless ref $self
1066 0 0 if (scalar @compiler_flags and ref $compiler_flags[-1] eq 'HASH')
1069 0 0 unless defined $lang_opt->{'lang'}
1071 0 0 unless defined $self->{'lang_supported'}{$lang}
1088 0 0 unless ref $self
1104 0 0 unless ref $self
1120 0 0 unless ref $self
1140 0 162 unless ref $self
1143 37 125 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1171 0 162 if $obj_file and not -f $obj_file
1172 90 72 if $obj_file
1174 72 90 if ($exception or not $obj_file)
1176 72 0 $exception ? :
1177 72 0 if $errbuf
1180 72 0 if $outbuf
1185 0 72 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
1192 0 90 if $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1210 0 17 unless ref $self
1212 16 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1239 0 17 if $obj_file and not -f $obj_file
1241 1 16 if ($exception or not $obj_file)
1243 1 0 $exception ? :
1244 1 0 if $errbuf
1247 1 0 if $outbuf
1251 0 1 if $obj_file
1255 0 1 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
1273 0 16 if $exe_file and not -f $exe_file
1276 16 0 if $obj_file
1277 13 3 if $exe_file
1279 3 13 if ($exception or not $exe_file)
1281 3 0 $exception ? :
1282 3 0 if $errbuf
1285 3 0 if $outbuf
1290 1 2 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
1297 9 4 if $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1317 0 123 unless ref $self
1319 101 22 if scalar @_ > 4 and ref $_[-1] eq 'HASH'
1325 6 117 if defined $ENV{$cache_name} and not defined $self->{'cache'}{$cache_name}
1328 11 112 if defined $self->{'cache'}{$cache_name}
1329 112 11 unless defined $self->{'cache'}{$cache_name}
1336 83 13 if $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE' and $self->{'cache'}{$cache_name}
1341 13 76 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $self->{'cache'}{$cache_name}
1355 0 86 unless ref $self
1356 0 86 unless defined $self->{'cache'}{$cache_name}
1389 5 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1391 0 5 unless defined $symbol
1392 0 5 unless ref $symbol eq ''
1413 0 5 $options->{'action_on_true'} ? :
0 5 $options->{'action_on_false'} ? :
1426 0 5 $options->{'action_on_cache_true'} ? :
0 5 $options->{'action_on_cache_false'} ? :
1458 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1461 1 0 if defined $options->{'prologue'}
1462 0 1 if defined $options->{'action_on_cache_true'}
1463 0 1 if defined $options->{'action_on_cache_false'}
1480 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'} ? :
1489 0 1 if $have_syms and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1494 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_syms
1528 3 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1538 3 1 $options->{'action_on_true'} ? :
1 3 $options->{'action_on_false'} ? :
1558 0 4 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
1564 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
1593 0 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1596 0 1 if defined $options->{'action_on_cache_true'}
1597 0 1 if defined $options->{'action_on_cache_false'}
1612 0 2 if defined $options->{'action_on_function_true'} and ref $options->{'action_on_function_true'} eq 'CODE'
1617 0 2 if defined $options->{'action_on_function_false'} and ref $options->{'action_on_function_false'} eq 'CODE'
1625 0 1 if $have_funcs and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1630 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_funcs
1665 0 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1675 0 1 $options->{'action_on_true'} ? :
0 1 $options->{'action_on_false'} ? :
1695 0 0 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
1701 0 1 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
1743 4 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1745 0 5 unless defined $type
1746 0 5 unless ref $type eq ''
1761 0 4 $options->{'action_on_true'} ? :
0 4 $options->{'action_on_false'} ? :
1777 0 5 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
1783 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
1812 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1815 1 0 if defined $options->{'prologue'}
1816 0 1 if defined $options->{'action_on_cache_true'}
1817 0 1 if defined $options->{'action_on_cache_false'}
1834 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'} ? :
1843 0 1 if $have_types and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1848 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_types
1861 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))) { }
1866 10 27 if ($self->compile_if_else($self->lang_build_bool_test($prologue, "((long int)($expr)) <= $mid", @decls)))
1873 0 27 if ($low <= $mid)
1886 1 1 if ($self->compile_if_else($self->lang_build_bool_test($prologue, "((long int)($expr)) >= $mid", @decls)))
1893 0 1 if ($mid < $high)
1906 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))) { }
1952 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
1963 0 1 if defined $val and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
1968 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not defined $val
1986 0 1 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
1992 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2034 6 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2037 0 6 unless defined $type
2038 0 6 unless ref $type eq ''
2043 1 4 if ($type =~ /^([^.]+)\.([^.]+)$/)
2056 0 5 if $typesize and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2061 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $typesize
2079 0 6 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2085 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2115 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2120 1 0 if defined $options->{'prologue'}
2121 0 1 if defined $options->{'action_on_cache_true'}
2122 0 1 if defined $options->{'action_on_cache_false'}
2140 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'} ? :
2150 0 1 if $have_sizes and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2155 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_sizes
2192 7 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2195 0 7 unless defined $type
2196 0 7 unless ref $type eq ''
2209 1 4 if ($type =~ /^([^.]+)\.([^.]+)$/) { }
2226 0 5 if $typealign and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2231 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $typealign
2249 0 7 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2255 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2285 1 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2290 1 0 if defined $options->{'prologue'}
2291 0 1 if defined $options->{'action_on_cache_true'}
2292 0 1 if defined $options->{'action_on_cache_false'}
2310 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'} ? :
2320 0 1 if $have_aligns and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2325 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_aligns
2374 32 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2377 0 32 unless defined $member
2378 0 32 unless ref $member eq ''
2380 0 32 unless $member =~ /^([^.]+)\.([^.]+)$/
2395 10 22 unless ($have_member)
2409 0 23 if $have_member and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2413 9 23 unless $have_member
2432 0 23 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2438 0 9 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2466 2 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2471 2 0 if defined $options->{'prologue'}
2472 0 2 if defined $options->{'action_on_cache_true'}
2473 0 2 if defined $options->{'action_on_cache_false'}
2491 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'} ? :
2501 0 2 if $have_members and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2506 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_members
2522 28 0 if scalar @_ > 4 and ref $_[-1] eq 'HASH'
2560 24 6 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2563 0 30 unless defined $header
2564 0 30 unless ref $header eq ''
2566 0 30 unless $header
2569 0 27 defined $options->{'prologue'} ? :
2577 0 27 $options->{'action_on_true'} ? :
0 27 $options->{'action_on_false'} ? :
2597 0 28 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2603 0 2 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2622 0 1 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2647 2 0 if scalar @_ > 2 and ref $_[-1] eq 'HASH'
2649 0 2 unless @_
2652 0 2 if defined $options->{'prologue'}
2653 0 2 if defined $options->{'action_on_cache_true'}
2654 0 2 if defined $options->{'action_on_cache_false'}
2671 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'} ? :
2680 0 2 if $all_headers and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2685 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $all_headers
2708 1 0 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
2714 1 0 if $rc
2730 0 1 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
2732 1 0 if $self->check_stdc_headers($options)
2801 0 1 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
2805 0 1 if defined $options->{'prologue'}
2810 1 0 if ($self->check_header($header))
2829 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'} ? :
2848 0 1 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
2854 0 0 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
2859 1 0 if $have_dirent and $have_dirent = $header
2866 0 1 if $have_dirent and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
2871 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_dirent
2935 0 0 unless $self->check_compile_perlapi(@_)
2957 0 0 unless $self->check_linkable_xs_so(@_)
2979 0 0 unless $self->check_loadable_xs_so(@_)
3007 1 0 if ($Config::AutoConf::Config{'perllibs'})
3011 7 0 if $perllib =~ /^\-l(\w+)$/ and push @{$$self{'extra_libs'};}, "$1"
3018 0 1 unless $have_libperl
3019 0 1 unless $have_libperl
3086 0 2 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3090 0 2 unless $lib and $func
3094 0 2 if scalar @other_libs == 1 and ref $other_libs[0] eq 'ARRAY'
3106 0 2 $options->{'action_on_true'} ? :
0 2 $options->{'action_on_false'} ? :
3128 0 1 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
3134 0 1 if $options->{'action_on_cache_false'} and ref $options->{'action_on_cache_false'} eq 'CODE'
3180 6 1 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3184 0 7 unless defined $libs and 'ARRAY' eq ref $libs and scalar @{$libs;} > 0
3186 0 7 unless $func
3190 0 7 if scalar @other_libs == 1 and ref $other_libs[0] eq 'ARRAY'
3201 2 7 if defined $libstest
3213 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, @_); } ) : ()})
3224 0 9 if (defined $libstest and scalar @other_libs > 1 and ref $other_libs[0] eq 'ARRAY') { }
3228 0 0 if &$if_else_sub($libstest, @{$ol;})
3233 7 2 if &$if_else_sub($libstest, @other_libs)
3242 0 7 if $have_lib and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
3247 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $have_lib
3259 2 5 unless $self->cache_val($cache_name) eq 'none required'
3263 0 7 if $options->{'action_on_cache_true'} and ref $options->{'action_on_cache_true'} eq 'CODE'
3265 0 7 $options->{'action_on_cache_false'} ? :
3301 3 0 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3306 1 2 if defined $options->{'action_on_lib_true'} and defined $options->{'action_on_func_lib_true'}
3309 1 1 if defined $options->{'action_on_lib_false'} and defined $options->{'action_on_func_lib_false'}
3312 0 1 if defined $options->{'action_on_cache_true'}
3313 0 1 if defined $options->{'action_on_cache_false'}
3314 0 1 if defined $options->{'action_on_lib_true'}
3315 0 1 if defined $options->{'action_on_lib_false'}
3345 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'} ? :
3350 0 6 unless $ans
3351 1 5 if $ans ne 'none required'
3357 0 1 if not $fail and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
3362 0 0 if $fail and $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE'
3418 0 0 unless defined $_pkg_config_prog
3423 0 0 if 0 == $exit
3430 0 0 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3437 0 0 unless defined $_pkg_config_prog
3438 0 0 unless defined $_pkg_config_prog
3450 0 0 if &looks_like_number($pkg_exists) and $pkg_exists == 0
3454 0 0 defined $ENV{$ENV_CFLAGS} ? :
3459 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))
3464 0 0 defined $ENV{$ENV_LIBS} ? :
3467 0 0 if $LIBS and not &looks_like_number($LIBS)
3470 0 0 if @pkg_libs
3471 0 0 if @pkg_libs
3478 0 0 if $pkg_config_flags and $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
3483 0 0 if $options->{'action_on_false'} and ref $options->{'action_on_false'} eq 'CODE' and not $pkg_config_flags
3494 0 0 $options->{'action_on_cache_true'} ? :
0 0 $options->{'action_on_cache_false'} ? :
3512 0 0 if defined $ENV{'PERL_MM_OPT'}
3516 0 0 if $arg =~ /^PUREPERL_ONLY=(.*)$/
3533 0 0 if defined $ENV{'PERL_MB_OPT'}
3537 0 0 if $arg eq '--pureperl-only'
3557 0 0 if $0 =~ /Makefile\.PL$/i
3558 0 0 if $0 =~ /Build\.PL$/i
3611 0 0 if scalar @_ > 1 and ref $_[-1] eq 'HASH'
3613 0 0 if $self->check_pureperl_required
3614 0 0 unless eval { do { $self->check_valid_compilers($_[0] || ['C']) } }
3621 0 0 if $options->{'action_on_true'} and ref $options->{'action_on_true'} eq 'CODE'
3644 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
3684 1605 15 if ref $_[0]
3685 3 12 unless defined $glob_instance
3693 6 173 if ref $self->{'lang_supported'}{$self->{'lang'}} eq 'CODE'
3694 0 179 unless defined $self->{'lang_supported'}{$self->{'lang'}}
3704 0 0 unless defined $lang
3709 0 0 if defined $impl and defined $self->{'lang_supported'}{$lang} and $impl ne $self->{'lang_supported'}{$lang}
3713 0 0 if defined $impl and not defined $self->{'lang_supported'}{$lang}
3715 0 0 if ref $self->{'lang_supported'}{$lang} eq 'CODE'
3716 0 0 unless defined $self->{'lang_supported'}{$lang}
3718 0 0 unless defined $self->{'extra_compile_flags'}{$lang}
3731 0 0 if $options->{$callback} and ref $options->{$callback} eq 'CODE'
3732 0 0 if @_ and wantarray
3733 0 0 if 1 == scalar @_
3740 0 177 unless ref $self
3745 133 5893 unless $defcnt->[0]
3746 5893 0 if defined $defcnt->[1]
3889 9 545 unless (defined $self->{'logfh'})
3891 0 9 defined $self->{'logfile_mode'} ? :
3892 0 9 unless open my $fh, $open_mode, $self->{'logfile'}
3902 0 246 unless ref $self
3918 0 304 unless ref $self
3944 0 2 if $fh == $eh
3968 2 2 unless $fh == $self->{'logfh'}[$ih]