Condition Coverage

inc/File/Copy/Recursive.pm
Criterion Covered Total %
condition 20 77 25.9


and 3 conditions

line !l l&&!r l&&r condition
129 28 0 0 $File::Copy::Recursive::RMTrgFil and -d $_[1] || -e $_[1]
145 0 28 0 $path and not -d $path
148 28 0 0 -l $_[0] and $File::Copy::Recursive::CopyLink
149 0 0 0 not -e readlink $_[0] and $File::Copy::Recursive::BdTrgWrn
164 1 0 0 -l $_[0] and $File::Copy::Recursive::CopyLink
177 1 0 0 $File::Copy::Recursive::RMTrgDir and -d $_[1]
193 1 0 0 -e $_[1] and not -d $_[1]
201 0 0 0 $File::Copy::Recursive::CPRFComp and not $globstar
221 17 0 0 $File::Copy::Recursive::MaxDepth and $File::Copy::Recursive::MaxDepth =~ /^\d+$/
17 0 0 $File::Copy::Recursive::MaxDepth and $File::Copy::Recursive::MaxDepth =~ /^\d+$/ and $level >= $File::Copy::Recursive::MaxDepth
231 0 0 0 $_ ne '.' && $_ ne '..'
236 17 17 44 $_ ne '.' && $_ ne '..'
244 44 0 0 -l $org and $File::Copy::Recursive::CopyLink
245 0 0 0 not -e readlink $org and $File::Copy::Recursive::BdTrgWrn
280 0 0 0 -l $_[0] and $File::Copy::Recursive::CopyLink
306 3 0 0 not -d $pth and $nofatal

or 2 conditions

line l !l condition
219 16 0 mkdir $end, $File::Copy::Recursive::DirPerms or return
258 0 0 fcopy($org, $new, $buf) or next
259 0 0 fcopy($org, $new) or next
262 0 0 fcopy($org, $new, $buf) or return
263 28 0 fcopy($org, $new) or return
305 1 0 mkdir $pth, $File::Copy::Recursive::DirPerms or return
363 0 0 pathempty($cur) or return

or 3 conditions

line l !l&&r !l&&!r condition
129 0 0 0 -d $_[1] || -e $_[1]
168 1 0 0 -d $_[0] or substr($_[0], -1, 1) eq '*'
193 0 0 1 not -d $_zero or -e $_[1] and not -d $_[1]
284 0 0 0 -d $_[0] or substr($_[0], -1, 1) eq '*'
305 2 0 1 -d $pth or $nofatal