| line |
true |
false |
branch |
|
34
|
24 |
12 |
unless $file =~ /\.zip$/u |
|
49
|
0 |
0 |
if (-d $f) { } |
|
|
0 |
0 |
elsif (-f $f and is_image_path($f)) { } |
|
66
|
11 |
33 |
if (-d $f) { } |
|
|
11 |
22 |
elsif (-f $f and is_image_path($f)) { } |
|
|
22 |
0 |
elsif (-f $f and $f =~ /\.(x?html?|txt)$/u) { } |
|
106
|
0 |
11 |
unless (@{$self->{'_content'};}) |
|
129
|
3 |
3 |
if ($f =~ /\.txt$/u) { } |
|
130
|
0 |
3 |
unless open my $fh, "<", $f |
|
135
|
3 |
0 |
unless (defined $self->{'Encode'}) |
|
151
|
0 |
3 |
if (defined $out) { } |
|
152
|
0 |
0 |
unless open my $fh, ">", $out |
|
171
|
3 |
3 |
if ($c =~ /\.txt$/u) { } |
|
172
|
0 |
3 |
unless open my $fh, "<", $c |
|
177
|
2 |
1 |
unless (defined $self->{'Encode'}) |
|
194
|
0 |
3 |
if (defined $out) { } |
|
195
|
0 |
0 |
unless open my $fh, ">", $out |
|
227
|
0 |
2 |
unless $self->has_cover |
|
229
|
0 |
2 |
unless open my $fh, "<", $self->{'_cover'}[0] |
|
252
|
0 |
2 |
if ($n >= $self->image_num) |
|
256
|
0 |
2 |
unless open my $fh, "<", $self->{'_images'}[$n][0] |
|
270
|
11 |
0 |
if -d $self->{'_tmpdir'} |