Branch Coverage

blib/lib/ExtUtils/CChecker.pm
Criterion Covered Total %
branch 31 60 51.6


line true false branch
99 0 6 if defined $args{'quiet'} and not $args{'quiet'}
220 7 7 defined $_ ? :
221 7 7 defined $_ ? :
231 5 5 defined $_ ? :
241 1 0 defined $diag ? :
259 1 1 if ($self->{'defines_to'}) { }
260 1 0 unless ($self->{'defines_fh'})
261 0 1 unless open $self->{'defines_fh'}, ">", $self->{'defines_to'}
312 2 5 @_ == 1 ? :
314 0 7 unless defined $args{'source'}
320 0 7 unless open my $test_source_fh, "> $test_source"
330 0 7 if exists $args{'include_dirs'}
331 0 7 if exists $args{'extra_compiler_flags'}
337 2 5 unless (defined $test_obj)
345 0 5 if exists $args{'extra_linker_flags'}
351 0 5 unless (defined $test_exe)
355 0 5 if (system("./$test_exe") != 0)
362 2 3 if defined $args{'define'}
394 1 1 unless $self->try_compile_run(%args)
438 0 0 unless ref(my $cflags = $args{'cflags'}) eq "ARRAY"
441 0 0 unless ref $f eq "ARRAY"
443 0 0 unless $self->try_compile_run(%args, "extra_compiler_flags", $f)
494 0 0 unless ref(my $dirs = $args{'dirs'}) eq "ARRAY"
497 0 0 unless ref $d eq "ARRAY"
499 0 0 unless $self->try_compile_run(%args, "include_dirs", $d)
550 0 0 unless ref(my $libs = $args{'libs'}) eq "ARRAY"
555 0 0 unless $self->try_compile_run(%args, "extra_linker_flags", \@extra_linker_flags)
603 0 0 unless $self->$trymethod(%args)
626 3 6 unless my(@vals) = @{$self->$key;}
631 2 4 $key eq 'include_dirs' ? :