| blib/lib/Dist/Zilla/Plugin/Git/RequireUnixEOL.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 18 | 61.1 |
| line | true | false | branch |
|---|---|---|---|
| 43 | 1 | 3 | unless @files |
| 48 | 0 | 3 | unless open my $fh, '<', $file |
| 51 | 0 | 3 | unless binmode $fh, ':raw' |
| 59 | 1 | 11 | if ($windows_line_ending_found == 0 and $line =~ /\r$/msx) |
| 64 | 1 | 11 | if ($line =~ /[ \t]+\r?\n$/msx) |
| 69 | 0 | 3 | unless close $fh |
| 72 | 2 | 1 | if (@errors) |
| 90 | 0 | 0 | if ($fatal->$Dist::Zilla::Plugin::Git::RequireUnixEOL::_isa('Git::Wrapper::Exception')) |
| 92 | 0 | 0 | if ($err and @{$err;}) |