line |
true |
false |
branch |
149
|
0 |
2 |
unless mkdir $self->tmpdir . '/OPS' |
194
|
0 |
1 |
if defined $ncx_title |
203
|
0 |
2 |
unless ($uuid =~ /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/i) |
212
|
0 |
2 |
if (defined $self->_uuid) |
225
|
0 |
0 |
if ($ident =~ /^urn:uuid:(.*)/i) { } |
240
|
0 |
4 |
if defined $opts{'linear'} and $opts{'linear'} eq 'no' |
275
|
0 |
1 |
unless (defined $type) |
276
|
0 |
0 |
if ($filename =~ /\.jpg$/i or $filename =~ /\.jpeg$/i) { } |
|
0 |
0 |
elsif ($filename =~ /\.gif$/i) { } |
|
0 |
0 |
elsif ($filename =~ /\.png$/i) { } |
|
0 |
0 |
elsif ($filename =~ /\.svg$/i) { } |
347
|
0 |
0 |
if (mkdir_and_copy($src_filename, "$tmpdir/OPS/$filename")) { } |
361
|
0 |
0 |
if (mkdir_and_copy($src_filename, "$tmpdir/OPS/$filename")) { } |
375
|
0 |
0 |
if (mkdir_and_copy($src_filename, "$tmpdir/OPS/$filename")) { } |
389
|
0 |
0 |
if (mkdir_and_copy($src_filename, "$tmpdir/OPS/$filename")) { } |
409
|
0 |
1 |
unless (defined $self->_encryption_key) |
414
|
1 |
0 |
if (adobe_encrypt($src_filename, "$tmpdir/OPS/$filename", $key)) { } |
437
|
0 |
9 |
unless defined $prefix |
438
|
2 |
7 |
if (defined do {
$self->id_counters
}->{$prefix}) { } |
484
|
0 |
1 |
unless open my $in, '<', $src |
485
|
0 |
1 |
unless open my $out, '>', $dst |
516
|
0 |
10 |
unless open my $fh, '>:encoding(UTF-8)', $filename |
525
|
0 |
2 |
unless open my $fh, '>', $filename |