line |
true |
false |
branch |
400
|
0 |
1 |
if $$args_ref{'rules'} |
440
|
27 |
1 |
ref $_[-1] ? : |
477
|
0 |
0 |
if length "$1$2" |
478
|
0 |
56 |
if $trailing_slash |
496
|
0 |
0 |
unless CORE::chdir $path |
498
|
0 |
0 |
if ($path ne $cwd) { } |
519
|
79 |
0 |
ref $_[-1] ? : |
527
|
3 |
53 |
unless (defined $r) |
528
|
0 |
3 |
unless -e $_ |
588
|
41 |
0 |
ref $_ eq 'ARRAY' ? : |
616
|
2 |
0 |
ref $_[-1] ? : |
621
|
0 |
2 |
if (not $$options{'stat_only'} and $self->e($target)) |
622
|
0 |
0 |
if ($$options{'move'}) { } |
623
|
0 |
0 |
if $$options{'debug'} |
629
|
0 |
0 |
if $$options{'debug'} |
653
|
28 |
28 |
if defined $cwd_cache |
701
|
56 |
0 |
ref $_[-1] eq 'HASH' ? : |
721
|
0 |
56 |
if ($length and substr($target, 0, 1) eq '/') |
722
|
0 |
0 |
if ($length >= $cwd_length and substr($target, 0, $cwd_length) eq $cwd and $length == $cwd_length || substr($target, $cwd_length, 1) eq '/') { } |
|
0 |
0 |
elsif (defined $sym_cwd_cache and $real_cwd_cache eq $cwd) { } |
733
|
0 |
0 |
if ($length >= $cwd_length and substr($target, 0, $cwd_length) eq $sym_cwd_cache and $length == $cwd_length || substr($target, $cwd_length, 1) eq '/') |
747
|
61 |
1 |
if $rank and !defined($best_rank) || $rank > $best_rank |
750
|
0 |
133 |
if (defined $rel_target) |
752
|
0 |
0 |
if $rank and !defined($best_rank) || $rank > $best_rank |
782
|
0 |
0 |
if $$_[0] eq $target |
798
|
5 |
22 |
ref $_[-1] ? : |
801
|
26 |
1 |
unless ($self->make_level) |
812
|
0 |
27 |
if @{$errors_of{$ident};} |
827
|
0 |
27 |
if ($a) |
832
|
0 |
27 |
if $$options{'debug'} and not $self->make_level |
835
|
0 |
27 |
if @{$errors_of{$ident};} |
878
|
0 |
53 |
if @_ |
887
|
0 |
15 |
wantarray ? : |
903
|
1 |
44 |
if ($in_queue_of{$ident}{$target}) |
978
|
2 |
0 |
ref $_[-1] ? : |
982
|
1 |
1 |
if $$options{'restore_if_unchanged'} and $self->target_unchanged($backup) |
985
|
1 |
1 |
if (defined $$backup{'BACKUP'}) |
986
|
0 |
1 |
if (-e $$backup{'BACKUP'}) { } |
987
|
0 |
0 |
if $$options{'debug'} or $$backup{'OPTIONS'}{'debug'} |
990
|
0 |
0 |
unless unlink $$backup{'BACKUP'} |
993
|
0 |
1 |
if $$options{'debug'} or $$backup{'OPTIONS'}{'debug'} |
1014
|
2 |
2 |
if ($targets eq $_->targets) |
1051
|
1 |
0 |
ref $_[-1] ? : |
1054
|
0 |
1 |
if (-e $$backup{'BACKUP'}) |
1055
|
0 |
0 |
if $$options{'debug'} or $$backup{'OPTIONS'}{'debug'} |
1060
|
1 |
0 |
if (defined $$options{'deps'}) |
1063
|
1 |
0 |
if @{$$backup{'STAT'};} |
1067
|
0 |
0 |
if defined $a and $a > $atime |
1069
|
0 |
0 |
if defined $m and $m > $mtime |
1087
|
16 |
3 |
if (@_) |
1093
|
0 |
19 |
wantarray ? : |
1121
|
19 |
97 |
if defined $stat_cache{$path} |
1125
|
31 |
66 |
if @stats |
1127
|
31 |
66 |
if defined $stat_cache{$path} |
1150
|
2 |
0 |
@{$$context{'STAT'};} ? : |
|
0 |
2 |
if @{$$context{'STAT'};} ? !$self->e($target) : $self->e($target) |
1155
|
0 |
2 |
unless @{$$context{'STAT'};} |
1158
|
1 |
1 |
if $$context{'STAT'}[7] ne $self->size($target) |
1163
|
0 |
1 |
if not $$context{'OPTIONS'}{'stat_only'} and length `diff --brief "$$context{'BACKUP'}" "$target"` |