| blib/lib/Perl/Lint/Policy/TestingAndDebugging/RequireTestLabels.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 34 | 47 | 72.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 54 | 0 | 2 | 4 | $$tokens[$i + 1]{'type'} == 107 and $$tokens[$i + 2]{'type'} == 108 |
| 102 | 140 | 0 | 44 | $token_type == 104 and $left_paren_num <= 0 |
| 140 | 0 | 44 | $token_type == 104 and $left_paren_num <= 0 and $left_brace_num <= 0 | |
| 0 | 0 | 44 | $token_type == 104 and $left_paren_num <= 0 and $left_brace_num <= 0 and $left_bracket_num <= 0 | |
| 100 | 0 | 40 | $token_type == 106 and $left_paren_num <= 0 | |
| 100 | 0 | 40 | $token_type == 106 and $left_paren_num <= 0 and $left_brace_num <= 0 | |
| 0 | 0 | 40 | $token_type == 106 and $left_paren_num <= 0 and $left_brace_num <= 0 and $left_bracket_num <= 0 |
| line | l | !l | condition |
|---|---|---|---|
| 19 | 2 | 0 | $this_policies_arg->{'modules'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 31 | 6 | 0 | 85 | $token_type == 93 or $token_type == 71 |
| 38 | 12 | 6 | 6 | $token_type == 127 or $token_type == 126 |
| 53 | 4 | 4 | 40 | $token_data eq 'pass' or $token_data eq 'fail' |
| 54 | 2 | 0 | 6 | $$tokens[$i + 1]{'type'} == 106 or $$tokens[$i + 1]{'type'} == 107 and $$tokens[$i + 2]{'type'} == 108 |
| 73 | 4 | 4 | 18 | $token_data eq 'is' or $token_data eq 'isnt' |
| 8 | 4 | 14 | $token_data eq 'is' or $token_data eq 'isnt' or $token_data eq 'like' | |
| 8 | 3 | 11 | $token_data eq 'is' or $token_data eq 'isnt' or $token_data eq 'like' or $token_data eq 'unlike' | |
| 7 | 11 | 0 | $token_data eq 'is' or $token_data eq 'isnt' or $token_data eq 'like' or $token_data eq 'unlike' or $token_data eq 'is_deeply' |