Condition Coverage

blib/lib/cPanel/SyncUtil.pm
Criterion Covered Total %
condition 21 68 30.8


and 3 conditions

line !l l&&!r l&&r condition
97 0 5 0 $dir and -d $dir
145 0 0 0 defined $dir and not $dir =~ /\.bak$/
0 0 0 defined $dir and not $dir =~ /\.bak$/ and not $dir =~ /^\./
0 0 0 defined $dir and not $dir =~ /\.bak$/ and not $dir =~ /^\./ and -d $dir
0 0 0 defined $dir and not $dir =~ /\.bak$/ and not $dir =~ /^\./ and -d $dir and not -l $dir
206 10 0 8 $file =~ /\.bz2$/ and not -e $file . '.bz2.bz2'
275 0 0 8 -e $file and -e $tfile
288 17 0 0 -z $file and $$args_hr{'verbose'}
291 17 0 0 exists $oldmd5s{$file} and $md5sum ne $oldmd5s{$file}
334 0 2 0 $dir and -d $dir
387 8 0 0 -z $file and $$args_hr{'verbose'}
390 8 0 0 exists $oldmd5s{$file} and $md5sum ne $oldmd5s{$file}
8 0 0 -e $file . '.bz2' and $mtime > (stat _)[9]
422 0 1 0 $dir and -d $dir
472 0 1 0 $cpanelsync_file and -e $cpanelsync_file

or 2 conditions

line l !l condition
47 36 0 (stat $file)[2] || 0
55 0 0 (stat $file)[2] || 0
278 0 0 $$args_hr{'get_mode_string'}($file) || 0
377 5 0 $$args_hr{'get_mode_string'}($file) || 0

or 3 conditions

line l !l&&r !l&&!r condition
103 1 1 26 exists $ignore_name{$File::Find::name} or exists $ignore_name{$filename}
264 0 0 34 $file =~ m[/\.cpanelsync$] or $file =~ m[/\.cpanelsync.lock$]
363 0 0 10 $file eq './.cpanelsync' or $file eq './.cpanelsync.lock'
428 1 0 0 not -e $cpanelsync or -z _
1 0 0 not -e $cpanelsync or -z _ or not -e $cpanelsync_lock