line |
true |
false |
branch |
88
|
0 |
0 |
if @_ > 1 |
103
|
1 |
2 |
if @_ > 1 |
123
|
0 |
3 |
if ($$self{'f'}) |
124
|
0 |
0 |
unless $self->rollback |
128
|
0 |
3 |
unless (open $orig, '<', $fname) |
134
|
0 |
3 |
unless (sysopen $f, $tmpfname, 193, 384) |
138
|
0 |
3 |
unless $self->do_copy($orig, $f) |
160
|
0 |
4 |
unless (defined $f) |
165
|
0 |
4 |
unless (print $f $line) |
188
|
0 |
1 |
unless (defined $$self{'f'} and defined $$self{'tmpfname'} and defined $$self{'fname'}) |
196
|
1 |
0 |
if (defined $$self{'stat'}) |
198
|
0 |
1 |
unless (chmod $$self{'stat'}[2], $$self{'tmpfname'}) |
204
|
0 |
1 |
unless (chown $$self{'stat'}[4], $$self{'stat'}[5], $$self{'tmpfname'}) |
212
|
0 |
1 |
unless (rename $$self{'tmpfname'}, $$self{'fname'}) |
239
|
2 |
0 |
if (defined $$self{'tmpfname'}) |
241
|
0 |
2 |
unless (unlink $$self{'tmpfname'}) |
247
|
2 |
0 |
if (defined $$self{'f'}) |
275
|
0 |
14 |
if ($$self{'debug'} or $debug) |
303
|
0 |
1 |
if $debug |
304
|
0 |
1 |
if $debug |
306
|
1 |
0 |
if $tempfiles{$_}{'tmpfname'} |