Branch Coverage

blib/lib/Alien/Base/ModuleBuild/File.pm
Criterion Covered Total %
branch 5 20 25.0


line true false branch
13 429 13 ref $_[0] ? :
30 4 5 if (my $new_filename = $repo->{'new_filename'})
37 0 9 if (defined $self->{'sha1'} or defined $self->{'sha256'})
38 0 0 unless (eval { do { require Digest::SHA } })
41 0 0 if "Alien::Base::ModuleBuild"->alien_download_rule =~ /digest/
45 0 0 unless eval { do { require Digest::SHA } }
47 0 0 if (defined $self->{'sha1'})
50 0 0 unless ($sha->hexdigest eq $self->{'sha1'})
56 0 0 if (defined $self->{'sha256'})
59 0 0 unless ($sha->hexdigest eq $self->{'sha256'})