Branch Coverage

blib/lib/Dist/Zilla/Plugin/Manifest/Write.pm
Criterion Covered Total %
branch 27 40 67.5


line true false branch
126 89 0 if (my $blessed = &blessed($arg))
160 0 0 if (my $blessed = &blessed($arg))
268 14 0 if ($self->strict >= 0)
397 1 29 if (exists $providers->{$provider} and $providers->{$provider} != $META) { }
444 17 1 if ($self->strict >= 0)
445 16 1 $self->strict > 0 ? :
448 49 4 if (my $plugin = $zilla->plugin_named($provider)) { }
449 1 48 unless ($plugin->does('Dist::Zilla::Role::FileInjector'))
542 5 83 if ($name =~ /[\ '\\#]/x)
572 1 87 @mungers ? :
603 0 88 unless (@$history)
646 134 0 if ($entry =~ /\A (.*?) \s by \s (.*) \s \( ([a-z_0-9:]+) \s line \s (\d+) \) \z/xi) { }
659 0 0 $_ == $n ? :
682 88 0 if (my $first = $history->[0]) { }
706 38 50 if ($file->isa('Dist::Zilla::File::OnDisk')) { }
727 88 0 if (my $first = $history->[0]) { }
729 88 0 if (my $plugin = $self->zilla->plugin_named($name)) { }
732 0 88 unless $plugin->does('Dist::Zilla::Role::FileInjector')
761 4 84 if ($self->show_mungers)
783 1 0 if (my $plugin = $self->zilla->plugin_named($entry->{'name'}))