blib/lib/Perl/Lint/Policy/ValuesAndExpressions/ProhibitComplexVersion.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 30 | 70.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
25 | 291 | 5 | 2 | $token_type == 94 and $token_data eq 'version' |
32 | 0 | 0 | 71 | $token_type == 166 || $token_type == 194 and $token_data eq '$VERSION' |
37 | 0 | 0 | 1 | $token_type == 166 || $token_type == 194 and $token_data eq '$VERSION' |
66 | 26 | 0 | 1 | $token_type == 70 and $token_data eq 'eval' |
70 | 1 | 9 | 1 | $token_data ne '$VERSION' and $token_data =~ /\A\$[A-Z0-9_]+\Z/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 65 | 6 | 0 | $token_type == 166 || $token_type == 194 |
37 | 1 | 0 | 0 | $token_type == 166 || $token_type == 194 |
66 | 6 | 5 | 61 | $token_type == 166 or $token_type == 194 |
2 | 0 | 27 | $token_type == 87 or $token_type == 70 and $token_data eq 'eval' | |
70 | 1 | 8 | 2 | $token_data ne '$VERSION' and $token_data =~ /\A\$[A-Z0-9_]+\Z/ or $$next_token{'type'} == 126 |