Branch Coverage

blib/lib/fs/Promises.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
86 0 96 if @_ > 1 and ($_[0] // '') eq 'fs::Promises'
109 0 3 if exists $symbolic_mode_to_numeric{$mode}
114 1 2 unless ($fh)
127 0 0 $_[0] < 0 ? :
157 0 0 $_[0] < 0 ? :
170 1 1 if ($stat_status)
201 0 0 $_[0] < 0 ? :
219 0 0 $_[0] < 0 ? :
235 1 2 if ($_[0] < 0)
251 0 88 unless ($fh)
261 85 3 if ($buf_index)
262 85 0 $eol ? :
264 85 0 if ($eol_index >= 0)
285 2 2 unless ($bytes_read)
287 1 1 if ($$buffer) { }
300 2 0 if $bytes_read
302 1 1 $eol ? :
304 1 1 if ($eol_index >= 0)