line |
true |
false |
branch |
35
|
15 |
1 |
unless $enc |
47
|
8 |
4 |
if (not defined $enc or $enc eq '') { } |
52
|
0 |
4 |
unless ($enc_ok) |
67
|
6 |
0 |
unless $layer |
80
|
15 |
0 |
unless $part |
94
|
0 |
3 |
unless open $fh, "<$io_layer", $$self{'path'} |
115
|
0 |
11 |
unless open $fh, '>:raw', $$self{'path'} |
128
|
0 |
0 |
if -e $self |
140
|
0 |
0 |
if ref $to eq 'IO::Easy::File' |
143
|
0 |
0 |
if ref $to eq 'IO::Easy::Dir' |
152
|
0 |
0 |
unless (open IN, $from_file) |
156
|
0 |
0 |
unless (open OUT, '>', $to_file) |
190
|
0 |
12 |
unless open $fh, '<:raw', $$self{'path'} |
193
|
6 |
6 |
if ($params{'reverse'}) |
194
|
6 |
0 |
if (seek $fh, 0, 2) { } |
209
|
6 |
6 |
if ($params{'reverse'}) { } |
212
|
6 |
0 |
if $seek_pos < 0 |
220
|
6 |
0 |
if ($lines[$#lines] eq 'aaa') { } |
244
|
6 |
0 |
if ($lines[$#lines] eq 'aaa') { } |
279
|
2 |
2 |
if (@_ and defined *{$_[0];}{'IO'}) |
296
|
4 |
8 |
unless defined $key |
310
|
3 |
6 |
if (-e $$self{'path'}) { } |
312
|
3 |
0 |
if (-f _) { } |
316
|
0 |
3 |
unless utime $t, $t, $$self{'path'} |