Condition Coverage

blib/lib/File/NCopy.pm
Criterion Covered Total %
condition 5 71 7.0


and 2 conditions

line l !l condition
314 0 0 not $$this{'test'} and 1

and 3 conditions

line !l l&&!r l&&r condition
233 0 0 0 $fdev == $tdev and $fino == $tino
389 0 0 0 -e $to_dir and not $$this{'test'}
414 0 0 0 $$this{'follow_links'} and -l "$from_dir$dir_sep$_"
417 0 0 0 $$this{'follow_links'} and defined $link
0 0 0 $$this{'follow_links'} and defined $link and not exists $$this{'_links'}{$link}
506 0 0 1 -d $_ and $$this{'recursive'}
569 0 0 1 @args >= 2 and -d $args[$#args]
0 0 0 @args == 2 and -f $args[0]
630 1 0 0 defined $$ref{'set_permission'} and ref $$ref{'set_permission'} eq 'CODE'
633 1 0 0 defined $$ref{'file_check'} and ref $$ref{'file_check'} eq 'CODE'
636 1 0 0 defined $$ref{'set_times'} and ref $$ref{'set_times'} eq 'CODE'

or 3 conditions

line l !l&&r !l&&!r condition
198 0 0 0 ref $file_to eq 'GLOB' or ref $file_to eq 'FileHandle'
244 0 0 0 ref $file_to eq 'GLOB' or ref $file_to eq 'FileHandle'
248 0 0 0 ref $file_to eq 'GLOB' or ref $file_to eq 'FileHandle'
262 0 0 0 ref $file_from eq 'GLOB' || ref $file_from eq 'FileHandle'
274 0 0 0 ref $file_to eq 'GLOB' || ref $file_to eq 'FileHandle'
285 0 0 0 -t FILE_FROM or -t FILE_TO
293 0 0 0 $was_handle or $$this{'test'}
294 0 0 0 open FILE_TO, ">$file_to" or chmod 0644, "$file_to"
332 0 0 0 ref $file_from eq 'GLOB' or ref $file_from eq 'FileHandle'
334 0 0 0 ref $file_to eq 'GLOB' or ref $file_to eq 'FileHandle'
417 0 0 0 not -l "$from_dir$dir_sep$_" or $$this{'follow_links'} and defined $link and not exists $$this{'_links'}{$link}
429 0 0 0 $retval || $ret