Branch Coverage

lib/POSIX/1003/Fcntl.pm
Criterion Covered Total %
branch 12 66 18.1


line true false branch
70 0 0 ref $file ? :
77 0 0 ref $file ? :
84 0 2 ref $file ? :
85 0 2 $args{'close_on_exec'} ? :
87 2 0 unless $args{'close_on_exec'}
90 0 0 if defined $$fcntl{'F_DUPFD_CLOEXEC'}
100 0 0 ref $file ? :
107 0 0 ref $file ? :
114 0 2 ref $file ? :
121 0 0 ref $file ? :
128 0 2 ref $file ? :
131 0 0 $args{'wait'} ? :
0 2 if $args{'private'}
134 0 2 $args{'wait'} ? :
146 0 2 ref $file ? :
152 0 2 $args{'private'} ? :
153 0 2 unless my $lock = _lock($fd, $func, \%args)
157 1 1 $$lock{'type'} == $$fcntl{'F_UNLCK'} ? :
163 0 0 ref $file ? :
166 0 0 unless (defined $type and $! == 38)
168 0 0 if ($pid < 0) { }
177 0 0 wantarray ? :
183 0 0 ref $file ? :
188 0 0 if $pid < 0
191 0 0 unless ($t and $! == 38)
192 0 0 $type == ($$fcntl{'F_OWNER_PGRP'} // 2) ? :
202 0 0 ref $file ? :
209 0 0 ref $file ? :
216 0 0 ref $file ? :
223 0 0 ref $file ? :
231 0 0 ref $dir ? :
238 0 0 ref $file ? :
245 0 0 ref $file ? :