Branch Coverage

blib/lib/Dist/Zilla/Plugin/MetaProvides/Update.pm
Criterion Covered Total %
branch 1 18 5.5


line true false branch
21 1 0 unless find_meta($zilla)->find_attribute_by_name('distmeta')->has_value($zilla)
25 0 0 unless $distmeta->{'provides'}
31 0 0 unless @provides_plugins
38 0 0 unless exists $distmeta->{'provides'}{$module}
40 0 0 if ($distmeta->{'provides'}{$module}{'file'} ne $new_metadata->{'provides'}{$module}{'file'})
48 0 0 if (not exists $new_metadata->{'provides'}{$module}{'version'}) { }
51 0 0 if exists $distmeta->{'provides'}{$module}{'version'}
58 0 0 if (not exists $distmeta->{'provides'}{$module}{'version'}) { }
0 0 elsif ($distmeta->{'provides'}{$module}{'version'} ne $new_metadata->{'provides'}{$module}{'version'}) { }