Branch Coverage

blib/lib/IO/AIO.pm
Criterion Covered Total %
branch 11 48 22.9


line true false branch
935 0 0 unless my $fh = shift()
974 0 0 if (my $src_fh = $_[0]) { }
979 0 0 if (my $dst_fh = $_[0]) { }
987 0 0 if ($_[0] == $stat[7]) { }
1004 0 0 if ($_[0] < 0 and $! == 38) { }
1053 0 0 if ($_[0] and $! == 18) { }
1058 0 0 unless ($_[0])
1136 1 0 if $maxreq <= 0
1141 0 1 unless $_[0]
1149 0 1 if $_[0]
1154 1 0 if ((stat _)[3] < 2)
1164 0 1 unless my($entries, $flags) = @_
1167 1 0 if ($rdxflags & 1)
1176 1 0 unless ($flags & 128)
1184 1 0 if (@$entries) { }
1186 1 5 if ($entries->[$_][1] != 4)
1194 0 1 unless ($dirs)
1223 0 0 if ($hash1 ne $hash2 or (stat _)[9] == $now) { }
1228 0 0 unless $ndirs = (stat _)[3] - 2
1240 0 0 unless @$entries
1246 0 0 if ($_[0] < 0) { }
1253 0 0 if (-d _) { }
1256 0 0 unless (--$ndirs)
1424 0 0 if ($fh) { }