Branch Coverage

blib/lib/Dist/Zilla/Util/EmulatePhase.pm
Criterion Covered Total %
branch 24 28 85.7


line true false branch
44 43 20 unless exists $seen{$item}
83 1 10 unless ($config and exists $config->{'zilla'})
90 2 8 unless ($zilla->isa('Dist::Zilla'))
98 9 1 if ($zilla->can('plugins')) { }
105 1 8 unless (@{$plugins;})
109 7 1 if (exists $config->{'with'})
117 1 7 if (exists $config->{'skip_with'})
124 0 8 if (exists $config->{'isa'})
133 1 7 if (exists $config->{'skip_isa'})
165 1 1 unless ($config and exists $config->{'zilla'})
170 1 0 unless exists $config->{'with'}
203 1 2 unless ($config and exists $config->{'zilla'})
209 2 0 unless exists $config->{'with'}
222 0 3 if (&refaddr($zilla) eq &refaddr($value->{'zilla'}))