|  line  | 
 true  | 
 false  | 
 branch  | 
 
| 
58
 | 
 0  | 
 281  | 
 unless defined $path
  | 
 
| 
63
 | 
 269  | 
 12  | 
 if $is_sym
  | 
 
| 
67
 | 
 148  | 
 133  | 
 if ($tx_action eq 'check_state') { }
  | 
 
| 
 | 
 133  | 
 0  | 
 elsif ($tx_action eq 'fix_state') { }
  | 
 
| 
68
 | 
 2  | 
 146  | 
 if $exists and not $is_sym
  | 
 
| 
69
 | 
 2  | 
 134  | 
 if $is_sym and defined $target and $curtarget ne $target
  | 
 
| 
71
 | 
 134  | 
 10  | 
 if ($exists)
  | 
 
| 
77
 | 
 134  | 
 10  | 
 if (@undo) { }
  | 
 
| 
78
 | 
 0  | 
 134  | 
 if $dry_run
  | 
 
| 
86
 | 
 133  | 
 0  | 
 if (unlink $path) { }
  | 
 
| 
127
 | 
 0  | 
 301  | 
 unless defined $symlink
  | 
 
| 
129
 | 
 0  | 
 301  | 
 unless defined $target
  | 
 
| 
133
 | 
 10  | 
 291  | 
 if $is_sym
  | 
 
| 
136
 | 
 157  | 
 144  | 
 if ($tx_action eq 'check_state') { }
  | 
 
| 
 | 
 144  | 
 0  | 
 elsif ($tx_action eq 'fix_state') { }
  | 
 
| 
137
 | 
 2  | 
 155  | 
 if $exists and not $is_sym
  | 
 
| 
138
 | 
 0  | 
 155  | 
 if $is_sym and $curtarget ne $target
  | 
 
| 
140
 | 
 145  | 
 10  | 
 unless ($exists)
  | 
 
| 
143
 | 
 145  | 
 10  | 
 if (@undo) { }
  | 
 
| 
144
 | 
 0  | 
 145  | 
 if $dry_run
  | 
 
| 
153
 | 
 144  | 
 0  | 
 if (symlink $target, $symlink) { }
  | 
 
| 
253
 | 
 0  | 
 123  | 
 unless my $symlink = $args{'symlink'}
  | 
 
| 
255
 | 
 80  | 
 43  | 
 if ($should_exist)
  | 
 
| 
256
 | 
 0  | 
 80  | 
 unless defined $target
  | 
 
| 
266
 | 
 38  | 
 85  | 
 $is_sym ? :
  | 
 
| 
273
 | 
 80  | 
 43  | 
 if ($should_exist) { }
  | 
 
| 
 | 
 38  | 
 5  | 
 elsif ($exists) { }
  | 
 
| 
274
 | 
 40  | 
 40  | 
 if ($exists and not $is_sym) { }
  | 
 
| 
 | 
 20  | 
 20  | 
 elsif ($is_sym and $cur_target ne $target) { }
  | 
 
| 
 | 
 14  | 
 6  | 
 elsif (not $exists) { }
  | 
 
| 
275
 | 
 2  | 
 38  | 
 if ($is_dir and not $replace_dir) { }
  | 
 
| 
 | 
 2  | 
 36  | 
 elsif (not $is_dir || $replace_file) { }
  | 
 
| 
282
 | 
 0  | 
 36  | 
 if $dry_run
  | 
 
| 
295
 | 
 2  | 
 18  | 
 unless ($replace_symlink)
  | 
 
| 
299
 | 
 0  | 
 18  | 
 if $dry_run
  | 
 
| 
309
 | 
 2  | 
 12  | 
 unless ($create)
  | 
 
| 
313
 | 
 0  | 
 12  | 
 if $dry_run
  | 
 
| 
322
 | 
 0  | 
 38  | 
 if $is_sym and not $replace_symlink
  | 
 
| 
324
 | 
 0  | 
 38  | 
 if $is_dir and not $replace_dir
  | 
 
| 
326
 | 
 2  | 
 12  | 
 unless $is_sym or $is_dir or $replace_file
  | 
 
| 
328
 | 
 0  | 
 36  | 
 if $dry_run
  | 
 
| 
335
 | 
 102  | 
 11  | 
 if (@do) { }
  |