Branch Coverage

blib/lib/Dist/Zilla/Role/MetaProvider/Provider.pm
Criterion Covered Total %
branch 18 22 81.8


line true false branch
156 16 3 if ($self->inherit_version or $self->inherit_missing and not defined $version)
161 1 2 unless (defined $version)
187 81 4 unless $plugin->isa('Dist::Zilla::Plugin::MetaNoIndex')
210 1 5 unless ($self->meta_noindex)
216 4 1 if (not keys %{$meta;} && exists $meta->{'no_index'}) { }
233 1 0 if exists $noindex->{'directory'}
277 0 4 unless $self->zilla->files
285 4 3 unless (exists $all_filenames{$file})
291 5 2 unless ($file =~ /\b\Q$notional_filename\E\z/sx)
300 4 0 if (my $nkeys = scalar keys %missing_files)
304 4 0 if (my $nkeys = scalar keys %unmapped_modules)