Branch Coverage

blib/lib/Perinci/Gen/ForModule.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
74 0 1 unless my $module = $args{'module'}
77 1 0 if ($load)
86 0 1 unless package_exists($module)
102 0 1 if (keys %$metas)
120 0 3 if (defined $inc and not match_array_or_regex($sub, $inc))
125 1 2 if (defined $exc and match_array_or_regex($sub, $exc))
130 0 2 if ($metas->{$sub})