| blib/lib/fs/Promises.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 19 | 26 | 73.0 |
| line | true | false | branch |
|---|---|---|---|
| 78 | 0 | 77 | if @_ > 1 and ($_[0] // '') eq 'fs::Promises' |
| 101 | 0 | 3 | if exists $symbolic_mode_to_numeric{$mode} |
| 106 | 1 | 2 | unless ($fh) |
| 199 | 0 | 1 | if ($_[0] <= 0) |
| 215 | 0 | 73 | unless ($fh) |
| 225 | 70 | 3 | if ($buf_index) |
| 226 | 70 | 0 | $eol ? : |
| 228 | 70 | 0 | if ($eol_index >= 0) |
| 249 | 2 | 2 | unless ($bytes_read) |
| 251 | 1 | 1 | if ($$buffer) { } |
| 264 | 2 | 0 | if $bytes_read |
| 266 | 1 | 1 | $eol ? : |
| 268 | 1 | 1 | if ($eol_index >= 0) |