| blib/lib/Test/EOL.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 34 | 38.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 38 | 2 | 0 | 0 | $_[0] and $_[0] eq 'no_plan' |
| 60 | 4 | 0 | 2 | -f $File::Find::name and -r _ |
| 114 | 13 | 928 | 0 | not $options->{'trailing_whitespace'} and /(\r+)$/ |
| 118 | 928 | 13 | 0 | $options->{'trailing_whitespace'} and /([ \t]*\r+|[ \t]+)$/ |
| 124 | 941 | 0 | 0 | @fails > 0 and not $options->{'all_reasons'} |
| 162 | 0 | 0 | 0 | defined $first and $first =~ /$PERL_PATTERN/ |
| 173 | 0 | 0 | 0 | -e $candidate and -f _ |
| 0 | 0 | 0 | -e $candidate and -f _ and -r _ |
| line | l | !l | condition |
|---|---|---|---|
| 101 | 5 | 2 | $options ||= {'trailing_whitespace', 0, 'all_reasons', 0} |
| 128 | 0 | 0 | $options->{'all_reasons'} or 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 47 | 2 | 0 | 0 | _is_perl_module($_) or _is_perl_script($_) |
| 99 | 1 | 6 | 0 | $test_txt ||= "No incorrect line endings in '${file}'" |