Branch Coverage

blib/lib/Dist/Zilla/Util/ConfigDumper.pm
Criterion Covered Total %
branch 16 30 53.3


line true false branch
59 1 8 if (not defined $package or ref $package)
75 7 2 if (keys %{$payload;})
78 1 8 if (@fails)
79 1 0 unless exists $cnf->{$CFG_PACKAGE}
80 0 1 unless exists $cnf->{$CFG_PACKAGE}
127 0 0 if $plugin->can('meta') and $plugin->meta->can('name')
128 0 0 if $plugin->can('plugin_name')
129 0 0 if $plugin->can('VERSION')
130 0 0 if ($plugin->can('dump_config'))
132 0 0 if keys %{$finder_config;}
158 6 2 if ($attribute_metaclass->has_value($instance))
171 5 0 if (exists $hash->{'attrs'} and 'ARRAY' eq ref $hash->{'attrs'})
179 2 6 unless ref $methodname
180 1 5 if 'CODE' eq ref $methodname
181 5 0 if 'HASH' eq ref $methodname