Branch Coverage

blib/lib/ExtUtils/Depends.pm
Criterion Covered Total %
branch 21 62 33.8


line true false branch
15 4 0 unless @_
16 0 0 if $VERSION < $_[0]
48 2 0 unless $self->{'deps'}{$d}
78 0 3 unless $self->{$key}
118 0 2 unless my $file = 'IO::File'->new('>' . $filename)
180 0 5 unless eval { do { require $relpath } }
192 0 5 unless $instpath
195 0 5 unless ('File::Spec'->file_name_is_absolute($instpath))
205 1 0 if $@ and exists do { "${depinstallfiles}::" }->{'deps'}
208 4 1 if (not $@) { }
211 1 3 unless $inline->{'TYPEMAPS'}
228 0 5 $_[0] =~ / / ? :
236 2 0 if ($dep->{'deps'})
242 0 0 unless $self->{'deps'}{$childdep} or grep {$_ eq $childdep;} @load
255 8 0 unless exists $seen{$_}
276 0 0 if $dep->{'defines'}
277 0 0 if $dep->{'inc'}
278 0 0 if $dep->{'libs'}
279 0 0 if $dep->{'typemaps'}
309 0 1 if $^O =~ /MSWin32/
315 1 0 if %{$self->{'pm'};}
316 1 0 if @clean
318 1 0 if @OBJECT
320 1 0 if %XS
345 1 0 unless defined $mapper
350 0 0 if (defined &DynaLoader::mod2fname)
360 0 0 if (not $matching_file and /$pattern/)
364 0 0 -d $_ ? :
366 0 0 if ($matching_file and -f $matching_file)
379 0 0 if ($^O eq 'android')
397 0 0 unless $^O =~ /MSWin32/ and $ExtUtils::MM::Config{'cc'} =~ /\bgcc\b/i