Condition Coverage

blib/lib/App/DistSync/Util.pm
Criterion Covered Total %
condition 0 64 0.0


and 2 conditions

line l !l condition
453 0 0 carp("Can't specified directory") and return {}
489 0 0 carp("Can't specified file") and return 0
490 0 0 carp("Can't specified manifest-hash") and return 0

and 3 conditions

line !l l&&!r l&&r condition
287 0 0 0 length $file and -r $file
381 0 0 0 defined $file and -e $file
391 0 0 0 -e $file and -r $file
412 0 0 0 defined $mfile and -e $mfile
0 0 0 defined $mfile and -e $mfile and -r $mfile
0 0 0 defined $mfile and -e $mfile and -r $mfile and -s $mfile
424 0 0 0 $skipflag and $_ =~ m[^\s*\!\!perl/regexp\s*]i
453 0 0 0 defined $dir and -e $dir
490 0 0 0 defined $mani and ref $mani eq "HASH"

or 2 conditions

line l !l condition
285 0 0 shift() // ""
302 0 0 $args->{'binmode'} // ":raw"
306 0 0 $args->{'buffer'} // \$buf
308 0 0 $args->{'block_size'} || 1048576
325 0 0 shift() // ""
326 0 0 shift() // ""
330 0 0 $args->{'binmode'} // ":raw"
331 0 0 $args->{'perms'} // 438
332 0 0 $args->{'mode'} // 65
367 0 0 shift() // ""
466 0 0 (stat $_)[9] || 0
0 0 -s $_ || 0
513 0 0 $d->{'mtime'} || 0
0 0 $d->{'size'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
281 0 0 0 { => sub { qr/$_[0]/; } , i => sub { qr/$_[0]/i; } , ix => sub { qr/$_[0]/xi; } , m => sub { qr/$_[0]/m; } , mi => sub { qr/$_[0]/im; } , mix => sub { qr/$_[0]/mix; } , ms => sub { qr/$_[0]/ms; } , msi => sub { qr/$_[0]/ism; } , msix => sub { qr/$_[0]/imsx; } , msx => sub { qr/$_[0]/msx; } , mx => sub { qr/$_[0]/mx; } , s => sub { qr/$_[0]/s; } , si => sub { qr/$_[0]/is; } , six => sub { qr/$_[0]/six; } , sx => sub { qr/$_[0]/sx; } , x => sub { qr/$_[0]/x; } }->{$flags} || sub { qr/$_[0]/; }