Branch Coverage

blib/lib/Package/Strictures/Register.pm
Criterion Covered Total %
branch 11 22 50.0


line true false branch
19 0 3 unless (%params)
26 0 3 if exists $params{-'for'}
28 0 3 unless (exists $params{-'setup'})
42 0 3 unless ('HASH' eq $reftype)
46 0 0 unless (exists $$params{-'strictures'} or exists $$params{-'groups'})
50 3 0 if (exists $$params{-'groups'})
54 0 3 unless exists $$params{-'strictures'}
55 0 3 unless exists $$params{-'groups'}
66 0 3 unless ('HASH' eq $reftype)
82 0 3 unless (exists $prototype->{'default'})
104 2 1 if ('Package::Strictures::Registry'->has_value($package, $name))