Branch Coverage

blib/lib/ExtUtils/Autoconf.pm
Criterion Covered Total %
branch 32 40 80.0


line true false branch
247 9 8 if (ref $args and ref $args eq 'HASH')
258 1 10 unless $self->can($k)
260 8 2 if (not ref $v) { }
1 1 elsif (ref $v eq 'HASH') { }
287 7 0 unless (-x 'File::Spec'->catfile($self->wd, $configure))
291 0 0 unless ($self->_run_cmd("./$configure", '--prefix=' . "\Q$ExtUtils::Autoconf::Config{'prefix'}\E"))
316 8 0 unless ($ret)
340 24 0 unless -f $path
362 12 0 unless -f $path
386 12 63 if (@_)
405 2 1 if (@_)
424 1 11 if (@_)
452 10 3 if (scalar @_ == 1) { }
1 2 elsif (scalar @_ == 2) { }
1 1 elsif (scalar @_ != 0) { }
473 2 8 unless (chdir $self->wd)
482 1584 7432 unless defined $v
574 4 1 if defined $wd
575 0 5 if defined $autoconf
576 0 5 if defined $autoheader