Condition Coverage

blib/lib/LWP/Protocol/rsync.pm
Criterion Covered Total %
condition 6 33 18.1


and 3 conditions

line !l l&&!r l&&r condition
59 2 0 0 defined $size and $size > 0
166 1 0 0 $arg and not ref $arg
187 0 1 0 not $dir_listing and defined(my $ims_str = $request->header('If-Modified-Since'))
198 0 0 0 defined $perms && $perms =~ /^d/
0 0 0 not defined $perms && $perms =~ /^d/ and defined $mtime
0 0 0 not defined $perms && $perms =~ /^d/ and defined $mtime and $mtime <= $ims_time
370 0 0 1 ref $stdout_ref && defined $$stdout_ref
390 0 0 1 eval { do { POSIX::WIFEXITED($wstat) } } and defined(my $exit_code = eval { do { POSIX::WEXITSTATUS($wstat) } })
394 0 0 0 eval { do { POSIX::WIFSIGNALED($wstat) } } and defined(my $signal_number = eval { do { POSIX::WTERMSIG($wstat) } })

or 3 conditions

line l !l&&r !l&&!r condition
101 0 0 2 $uri_str =~ m[/\z] || _path_is_modules_or_root($path)
148 0 0 0 my $dir_listing ||= $listing =~ /^(d|skipping directory)/