| blib/lib/fs/Promises.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 38 | 57.8 |
| line | true | false | branch |
|---|---|---|---|
| 87 | 0 | 96 | if @_ > 1 and ($_[0] // "") eq "fs::Promises" |
| 103 | 0 | 0 | unless (@_) |
| 124 | 0 | 3 | if exists $symbolic_mode_to_numeric{$mode} |
| 129 | 1 | 2 | unless ($fh) |
| 142 | 0 | 0 | $_[0] < 0 ? : |
| 172 | 0 | 0 | $_[0] < 0 ? : |
| 185 | 1 | 1 | if ($stat_status) |
| 216 | 0 | 0 | $_[0] < 0 ? : |
| 234 | 0 | 0 | $_[0] < 0 ? : |
| 250 | 1 | 2 | if ($_[0] < 0) |
| 266 | 0 | 88 | unless ($fh) |
| 276 | 85 | 3 | if ($buf_index) |
| 277 | 85 | 0 | $eol ? : |
| 279 | 85 | 0 | if ($eol_index >= 0) |
| 300 | 2 | 2 | unless ($bytes_read) |
| 302 | 1 | 1 | if ($$buffer) { } |
| 315 | 2 | 0 | if $bytes_read |
| 317 | 1 | 1 | $eol ? : |
| 319 | 1 | 1 | if ($eol_index >= 0) |