| line |
true |
false |
branch |
|
67
|
0 |
21 |
$attr & 1 ? : |
|
|
0 |
21 |
$attr & 16 ? : |
|
74
|
6 |
7 |
S_ISREG($mode) ? : |
|
|
7 |
6 |
S_ISDIR($mode) ? : |
|
|
0 |
13 |
S_ISCHR($mode) ? : |
|
|
13 |
0 |
$mode & 128 ? : |
|
94
|
14 |
0 |
if ($root) |
|
95
|
0 |
14 |
unless -d $root |
|
97
|
1 |
13 |
$name eq '' ? : |
|
99
|
0 |
14 |
if $filename eq '' |
|
103
|
13 |
1 |
!$is_ipc && $filename && -e $filename ? : |
|
106
|
13 |
1 |
@stat ? : |
|
|
13 |
1 |
@stat ? : |
|
|
13 |
1 |
@stat ? : |
|
|
13 |
1 |
@stat ? : |
|
|
13 |
1 |
@stat ? : |
|
|
13 |
1 |
@stat ? : |
|
|
13 |
1 |
@stat ? : |
|
|
0 |
1 |
$is_directory ? : |
|
|
13 |
1 |
@stat ? : |
|
|
13 |
1 |
@stat || $is_svc ? : |
|
137
|
0 |
0 |
$is_eof_first ? : |
|
138
|
0 |
0 |
$is_eof_first ? : |
|
140
|
0 |
0 |
$self->creation_time ? : |
|
146
|
5 |
8 |
$self->attributes & 16 ? : |
|
|
0 |
13 |
$self->is_ipc ? : |
|
175
|
0 |
0 |
$size < 1e+16 ? : |
|
|
0 |
0 |
$size < 10000000000000 ? : |
|
|
0 |
0 |
$size < 10000000000 ? : |
|
198
|
17 |
0 |
if $openfile->handle |
|
217
|
1 |
2 |
unless -e $self->filename |
|
222
|
0 |
2 |
unless CORE::rename $filename, $tmp_filename |
|
225
|
0 |
2 |
unless ($openfile) |
|
226
|
0 |
0 |
unless CORE::rename $tmp_filename, $filename |
|
230
|
0 |
2 |
unless unlink $tmp_filename |
|
241
|
2 |
6 |
unless sysopen my $fh, $self->filename, &from_ntattr(scalar $self->attributes) |
|
250
|
1 |
0 |
-e $self->filename ? : |
|
|
0 |
8 |
$self->is_directory ? : |
|
|
1 |
7 |
unless $self->is_directory ? mkdir($self->filename, 511) : sysopen(my $fh, $self->filename, &from_ntattr(scalar $self->attributes) | 64 | 128) |
|
262
|
0 |
5 |
$^O eq 'MSWin32' ? : |
|
264
|
1 |
4 |
unless sysopen my $fh, $self->filename, &from_ntattr(scalar $self->attributes) | $mode |
|
267
|
0 |
4 |
if $^O eq 'MSWin32' |
|
275
|
3 |
1 |
-e $self->filename ? : |
|
281
|
2 |
1 |
-e $self->filename ? : |
|
288
|
0 |
6 |
if $self->is_ipc |
|
291
|
1 |
5 |
if $disposition == 0 |
|
292
|
1 |
4 |
if $disposition == 1 |
|
293
|
1 |
3 |
if $disposition == 2 |
|
294
|
1 |
2 |
if $disposition == 3 |
|
295
|
1 |
1 |
if $disposition == 4 |
|
296
|
1 |
0 |
if $disposition == 5 |
|
307
|
0 |
0 |
unless $root |
|
316
|
0 |
0 |
if $name =~ m[^\.\.?(/|$)] |
|
318
|
0 |
0 |
$name eq '' ? : |
|
325
|
0 |
5 |
unless $self->is_directory |
|
334
|
2 |
3 |
$params{'reopen'} ? : |
|
340
|
4 |
1 |
unless ($files) |
|
341
|
12 |
0 |
if -e $_ |
|
343
|
4 |
0 |
unless $params{'quiet'} |
|
344
|
12 |
0 |
$name eq '' ? : |
|
351
|
1 |
4 |
$start_idx ? : |
|
357
|
0 |
0 |
if ($self->is_directory) { } |
|
373
|
0 |
0 |
unless $new_filename = $self->normalize_name_in_share($new_filename) |
|
375
|
0 |
0 |
unless -e $filename |
|
377
|
0 |
0 |
if -d $new_filename |
|
379
|
0 |
0 |
if not $replace and -e $new_filename |
|
382
|
0 |
0 |
unless CORE::rename $self->filename, $new_filename |