Branch Coverage

blib/lib/Dist/Zilla/Plugin/Manifest/Write.pm
Criterion Covered Total %
branch 31 44 70.4


line true false branch
128 98 0 if (my $blessed = &blessed($arg))
162 0 0 if (my $blessed = &blessed($arg))
298 1 19 if $self->manifest_skip eq ''
373 17 0 if ($self->strict >= 0)
502 1 35 if (exists $providers->{$provider} and $providers->{$provider} != $META) { }
558 20 1 if ($self->strict >= 0)
559 19 1 $self->strict > 0 ? :
562 58 4 if (my $plugin = $zilla->plugin_named($provider)) { }
563 1 57 unless ($plugin->does('Dist::Zilla::Role::FileInjector'))
608 19 1 if defined $self->_manifest_skip_file
628 5 92 if ($name =~ /[\ '\\#]/x)
658 1 96 @mungers ? :
689 0 97 unless (@$history)
732 146 0 if ($entry =~ /\A (.*?) \s by \s (.*) \s \( ([a-z_0-9:]+) \s line \s (\d+) \) \z/xi) { }
745 0 0 $_ == $n ? :
768 97 0 if (my $first = $history->[0]) { }
792 43 54 if ($file->isa('Dist::Zilla::File::OnDisk')) { }
813 97 0 if (my $first = $history->[0]) { }
815 97 0 if (my $plugin = $self->zilla->plugin_named($name)) { }
818 0 97 unless $plugin->does('Dist::Zilla::Role::FileInjector')
847 4 93 if ($self->show_mungers)
869 1 0 if (my $plugin = $self->zilla->plugin_named($entry->{'name'}))