Condition Coverage

blib/lib/AnyEvent/IO/Perl.pm
Criterion Covered Total %
condition 9 36 25.0


and 3 conditions

line !l l&&!r l&&r condition
32 0 0 4 open($fh, '<:raw:perlio', $path) && stat $fh && -s _ == sysread($fh, $data, -s _)

or 3 conditions

line l !l&&r !l&&!r condition
53 1 0 0 sysseek($_[0], $_[1], $_[2]) || ()
68 0 0 0 truncate($_[0], $_[1]) || ()
72 0 0 0 utime($_[1], $_[2], $_[0]) || ()
76 0 0 0 chown(defined $_[1] ? $_[1] : -1, defined $_[2] ? $_[2] : -1, $_[0]) || ()
80 0 0 0 chmod($_[1], $_[0]) || ()
92 0 0 0 link($_[0], $_[1]) || ()
97 0 0 0 symlink($_[0], $_[1]) || ()
107 1 0 0 rename($_[0], $_[1]) || ()
111 1 0 1 unlink($_[0]) || ()
115 1 0 1 mkdir($_[0], $_[1]) || ()
119 1 0 1 rmdir $_[0] || ()