Branch Coverage

blib/lib/Perl/Critic/Policy/Variables/ProhibitReusedNames.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
40 0 58 if "local" eq $elem->type
54 166 107 unless ($up)
56 36 130 unless $up
60 43 194 if ($outer->isa("PPI::Statement::Variable") and "local" ne $outer->type)
63 26 18 exists $vars{$_} ? :
64 24 19 if ($hits)
66 22 2 unless $names