blib/lib/Perl/Critic/Policy/Mardem/ProhibitReturnBooleanAsInt.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
47 | 0 | 18 | unless ($return_keyword) |
51 | 0 | 18 | if ("return" ne $return_keyword->content or is_hash_key($return_keyword)) |
56 | 0 | 18 | unless ($return_line_content) |
67 | 7 | 11 | unless ($return_line_content =~ /$regex/) |