| lib/Text/FixEOL.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 15 | 93.3 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 237 | 4 | 59 | 358 | $string ne '' and $eol_mode ne 'asis' |
| 251 | 61 | 2 | 2 | $eof_handling eq 'add' and not $string =~ /\032$/s |
| 311 | 790 | 295 | 127 | $property eq 'fixlast' and $platform_name =~ /^(yes|no)$/ |
| 312 | 663 | 354 | 68 | $property eq 'eof' and $platform_name =~ /^(asis|remove|add)$/ |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 350 | 192 | 0 | 114 | $string =~ /\015\012/s or $string =~ /\012\015/s |