Branch Coverage

lib/Dist/Zilla/Util/EmulatePhase.pm
Criterion Covered Total %
branch 10 28 35.7


line true false branch
45 12 20 unless exists $seen{$item}
84 1 2 unless ($config and exists $$config{'zilla'})
91 2 0 unless ($zilla->isa('Dist::Zilla'))
99 1 1 if ($zilla->can('plugins')) { }
106 1 0 unless (@{$plugins;})
110 0 0 if (exists $$config{'with'})
118 0 0 if (exists $$config{'skip_with'})
125 0 0 if (exists $$config{'isa'})
134 0 0 if (exists $$config{'skip_isa'})
166 1 0 unless ($config and exists $$config{'zilla'})
171 0 0 unless exists $$config{'with'}
204 1 0 unless ($config and exists $$config{'zilla'})
210 0 0 unless exists $$config{'with'}
223 0 0 if (refaddr $zilla eq refaddr($$value{'zilla'}))