Branch Coverage

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


line true false branch
74 0 0 ref $file ? :
81 0 0 ref $file ? :
90 0 2 ref $file ? :
91 0 2 $args{'close_on_exec'} ? :
94 2 0 unless $args{'close_on_exec'}
97 0 0 if defined $fcntl->{'F_DUPFD_CLOEXEC'}
106 0 0 ref $file ? :
114 0 0 ref $file ? :
122 0 2 ref $file ? :
129 0 0 ref $file ? :
137 0 2 ref $file ? :
141 0 0 $args{'wait'} ? :
0 2 if $args{'private'}
143 0 2 $args{'wait'} ? :
156 0 2 ref $file ? :
162 0 2 $args{'private'} ? :
163 0 2 unless my $lock = &_lock($fd, $func, \%args)
167 1 1 $lock->{'type'} == $fcntl->{'F_UNLCK'} ? :
174 0 0 ref $file ? :
177 0 0 unless (defined $type and $! == 38)
179 0 0 if ($pid < 0) { }
188 0 0 wantarray ? :
195 0 0 ref $file ? :
200 0 0 if $pid < 0
203 0 0 unless ($t and $! == 38)
204 0 0 $type == ($fcntl->{'F_OWNER_PGRP'} // 2) ? :
214 0 0 ref $file ? :
222 0 0 ref $file ? :
230 0 0 ref $file ? :
238 0 0 ref $file ? :
246 0 0 ref $dir ? :
254 0 0 ref $file ? :
262 0 0 ref $file ? :