blib/lib/Perl/Critic/Policy/Community/EmptyReturn.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 8 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
32 | 173 | 16 | 21 | $child->isa("PPI::Token::Word") and $child eq "return" |
37 | 0 | 3 | 8 | $returns and &any(sub { |
line | l | !l | condition |
---|---|---|---|
25 | 11 | 0 | $elem->block || (return ()) |