Branch Coverage

blib/lib/Alien/Base/ModuleBuild/Repository.pm
Criterion Covered Total %
branch 21 26 80.7


line true false branch
14 9 12 ref $_[0] ? :
19 18 3 unless defined $obj->{'c_compiler_required'}
21 3 18 if ($obj->{'exact_filename'} and not $obj->{'location'} =~ m[/$])
32 0 1 if @_
38 4 23 if @_
49 2 6 if ($self->{'exact_filename'}) { }
55 2 4 if ($pattern)
59 0 6 unless @files
68 1 7 if ($self->{'exact_filename'} and $self->{'exact_version'}) { }
1 11 elsif ($pattern and pattern_has_capture_groups($pattern)) { }
71 1 0 if defined $self->{'sha1'}
72 1 0 if defined $self->{'sha256'}
76 17 0 if $file->{'filename'} =~ /$pattern/