Branch Coverage

blib/lib/IO/AIO.pm
Criterion Covered Total %
branch 14 48 29.1


line true false branch
941 0 0 unless my $fh = shift()
980 0 0 if (my $src_fh = $_[0]) { }
985 0 0 if (my $dst_fh = $_[0]) { }
988 0 0 if ($_[0] == $stat[7]) { }
1005 0 0 if ($_[0] < 0 and $! == 38) { }
1054 0 0 if ($_[0] and $! == 18) { }
1059 0 0 unless ($_[0])
1137 1 0 if $maxreq <= 0
1142 0 1 unless $_[0]
1150 0 1 if $_[0]
1155 0 1 if ((stat _)[3] < 2)
1165 0 1 unless my($entries, $flags) = @_
1168 0 1 if ($rdxflags & 1)
1177 0 0 unless ($flags & 128)
1185 0 0 if (@$entries) { }
1187 0 0 if ($entries->[$_][1] != 4)
1195 0 0 unless ($dirs)
1224 0 1 if ($hash1 ne $hash2 or (stat _)[9] == $now) { }
1229 0 1 unless $ndirs = (stat _)[3] - 2
1241 0 10 unless @$entries
1247 5 5 if ($_[0] < 0) { }
1254 5 0 if (-d _) { }
1257 1 4 unless (--$ndirs)
1425 0 0 if ($fh) { }