Branch Coverage

blib/lib/Dist/Zilla/Plugin/GenerateFile/FromShareDir.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
115 1 5 if ($self->dist eq $self->zilla->name) { }
117 1 0 if (my $sharedir = $self->zilla->_share_dir_map->{'dist'})
139 5 1 if ($self->location eq 'build') { }
141 1 4 if ($self->phase eq 'release')
181 2 5 unless $file->name eq $self->filename
194 0 5 unless $file->can('encoded_content')
202 5 1 if $self->phase eq 'build'
208 0 0 if $self->phase eq 'release'