blib/lib/Perl/Lint/Policy/BuiltinFunctions/ProhibitUniversalCan.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 8 | 10 | 80.0 |
line | true | false | branch |
---|---|---|---|
20 | 6 | 47 | if ($token_type == 122 and $token_data eq 'can') { } |
3 | 88 | elsif ($token_type == 127 and $token_data eq 'UNIVERSAL') { } | |
22 | 6 | 0 | if ($token->{'type'} == 107) |
35 | 3 | 0 | if ($token->{'type'} == 127 and $token->{'data'} eq 'can') |
36 | 1 | 2 | if ($$tokens[++$i]{'type'} == 107) |