Branch Coverage

blib/lib/Dist/Zilla/Util/PluginLoader.pm
Criterion Covered Total %
branch 16 24 66.6


line true false branch
42 0 17 unless 'ARRAY' eq ref $array
44 0 24 if ref $_
52 0 24 if $nargs < 2
54 0 24 if ref $package
56 1 23 if (2 == $nargs)
59 7 16 if (3 == $nargs)
60 1 6 if ('ARRAY' eq ref $name)
65 16 0 if (4 == $nargs)
66 1 15 unless (defined $name)
69 0 15 if (ref $name)
81 0 17 if scalar @{$attrs;} % 2 != 0
93 17 0 unless $child_section->is_finalized