Branch Coverage

blib/lib/ExtUtils/CChecker.pm
Criterion Covered Total %
branch 29 52 55.7


line true false branch
99 0 5 if defined $args{'quiet'} and not $args{'quiet'}
208 7 7 defined $_ ? :
209 7 7 defined $_ ? :
219 5 5 defined $_ ? :
229 1 0 defined $diag ? :
238 1 1 if ($$self{'defines_to'}) { }
239 1 0 unless ($$self{'defines_fh'})
240 0 1 unless open $$self{'defines_fh'}, '>', $$self{'defines_to'}
289 2 5 @_ == 1 ? :
291 0 7 unless defined $args{'source'}
297 0 7 unless open my $test_source_fh, "> $test_source"
307 0 7 if exists $args{'include_dirs'}
308 0 7 if exists $args{'extra_compiler_flags'}
314 2 5 unless (defined $test_obj)
322 0 5 if exists $args{'extra_linker_flags'}
328 0 5 unless (defined $test_exe)
332 0 5 if (system("./$test_exe") != 0)
339 2 3 if defined $args{'define'}
369 1 1 unless $self->try_compile_run(%args)
411 0 0 unless ref(my $dirs = $args{'dirs'}) eq 'ARRAY'
414 0 0 unless ref $d eq 'ARRAY'
416 0 0 unless $self->try_compile_run(%args, 'include_dirs', $d)
465 0 0 unless ref(my $libs = $args{'libs'}) eq 'ARRAY'
470 0 0 unless $self->try_compile_run(%args, 'extra_linker_flags', \@extra_linker_flags)
509 0 0 unless $self->$trymethod(%args)
536 3 6 if (exists $args{$key}) { }