line |
!l |
l&&!r |
l&&r |
condition |
238
|
1 |
0 |
0 |
$self->{'partial_save'} and not $file |
576
|
0 |
1 |
20 |
$month >= 1 and $month <= 12 |
579
|
0 |
1 |
18 |
$day >= 1 and $day <= 31 |
591
|
11 |
2 |
0 |
$od eq "Z" and defined $oh |
599
|
8 |
3 |
6 |
defined $oh and $om |
646
|
1 |
166 |
0 |
defined $value and not length $value |
1275
|
5 |
0 |
0 |
$rotate = $page->find_prop("Rotate") and not $page->{' opened'} |
1278
|
0 |
0 |
0 |
$rotate != 0 and not $self->default("nounrotate") |
1310
|
2 |
0 |
3 |
defined $page->{'Contents'} and not $page->{' opened'} |
1384
|
0 |
0 |
1 |
ref $s_pdf and $s_pdf->isa("PDF::API2") |
1430
|
1 |
0 |
0 |
exists $s_page->{'Annots'} and $s_page->{'Annots'} |
|
0 |
0 |
0 |
exists $s_page->{'Annots'} and $s_page->{'Annots'} and $self->{'copyannots'} |
1488
|
0 |
0 |
0 |
$AcroForm and $t_a->{'Subtype'}->val eq "Widget" |
1540
|
0 |
0 |
4 |
ref $s_pdf and $s_pdf->isa("PDF::API2") |
1778
|
0 |
0 |
8 |
$options{'style'} and $options{'style'} =~ /^([rad])/i |
1982
|
0 |
0 |
0 |
$name eq "Times" and not $options{'format'} |
2307
|
0 |
0 |
3 |
$bytes_read and $bytes_read == 8 |
line |
l |
!l |
condition |
142
|
164 |
0 |
eval {
do {
$VERSION
}
} || 'Development Version' |
191
|
16 |
0 |
$self->{'pdf'}{' version'} ||= "1.3" |
698
|
1 |
0 |
$opt{$k} || 'NONE' |
929
|
169 |
0 |
shift() // "single_page" |
1003
|
169 |
0 |
shift() // "none" |
1167
|
0 |
16 |
$pdf->{' apipagecount'} ||= 0 |
1209
|
2 |
140 |
shift() || 0 |
1254
|
6 |
0 |
shift() || 0 |
1380
|
1 |
0 |
$s_idx ||= 0 |
1381
|
0 |
1 |
$t_idx ||= 0 |
1408
|
0 |
1 |
$self->{'apiimportcache'} || {} |
1409
|
0 |
1 |
$self->{'apiimportcache'}{$s_pdf} || {} |
1538
|
4 |
0 |
$s_idx ||= 0 |
1556
|
1 |
3 |
$self->{'apiimportcache'} ||= {} |
1557
|
1 |
3 |
$self->{'apiimportcache'}{$s_pdf} ||= {} |
1732
|
8 |
0 |
shift() // {} |
1751
|
6 |
2 |
$options{'style'} //= "D" |
1785
|
1 |
0 |
$options{'prefix'} // "" |
1789
|
1 |
0 |
$options{'start'} // "" |
1998
|
0 |
0 |
$options{'embed'} //= 1 |
2163
|
0 |
0 |
$opts{'embed'} //= 1 |
2165
|
0 |
0 |
$opts{'embed'} //= 1 |
2254
|
0 |
3 |
$options{'format'} // "" |
2486
|
0 |
0 |
$options{'bar_width'} //= "1.8" |
2487
|
0 |
0 |
$options{'bar_extend'} //= 0 |
2498
|
0 |
0 |
$options{'bar_width'} //= 1 |
2499
|
0 |
0 |
$options{'bar_extend'} //= 0 |
2510
|
0 |
0 |
$options{'bar_width'} //= 1 |
2511
|
0 |
0 |
$options{'bar_height'} //= 40 |
2512
|
0 |
0 |
$options{'bar_extend'} //= 0 |
2519
|
0 |
0 |
$options{'bar_width'} //= 1 |
2520
|
0 |
0 |
$options{'bar_height'} //= "64.8" |
2530
|
0 |
0 |
$options{'bar_width'} //= 1 |
2539
|
0 |
0 |
$options{'font_size'} //= 10 |
2874
|
0 |
0 |
$root->{'Names'}{$cat}{'-vals'} ||= {} |
line |
l |
!l&&r |
!l&&!r |
condition |
110
|
164 |
0 |
0 |
$self->{'pages'}{'Resources'} ||= PDFDict() |
119
|
0 |
0 |
27 |
$options{'compress'} //= delete $options{'-compress'} |
131
|
0 |
0 |
0 |
$options{'file'} //= $options{'-file'} |
206
|
0 |
0 |
2 |
$options{'compress'} //= delete $options{'-compress'} |
648
|
1 |
0 |
166 |
$field eq "CreationDate" or $field eq "ModDate" |
708
|
0 |
0 |
3 |
unpack("n", $opt{$k}) == 65534 or unpack("n", $opt{$k}) == 65279 |
1770
|
0 |
8 |
0 |
$self->{'catalog'}{'PageLabels'} //= PDFDict() |
1771
|
0 |
8 |
0 |
$self->{'catalog'}{'PageLabels'}{'Nums'} //= PDFArray() |
1993
|
0 |
0 |
0 |
$format //= $name =~ /\.[ot]tf$/i ? "truetype" : ($name =~ /\.pf[ab]$/i ? "type1" : ($name =~ /\.bdf$/i ? "bitmap" : "")) |
2260
|
0 |
3 |
0 |
$format ||= _detect_image_format($file) |
2263
|
0 |
0 |
0 |
$format ||= $file =~ /\.jpe?g$/i ? "jpeg" : ($file =~ /\.png$/i ? "png" : ($file =~ /\.gif$/i ? "gif" : ($file =~ /\.tiff?$/i ? "tiff" : ($file =~ /\.p[bgp]m$/i ? "pnm" : "")))) |
2340
|
0 |
2 |
1 |
$opts{'-compress'} //= $self->{'forcecompress'} |
2485
|
0 |
0 |
0 |
$format eq "code128" or $format eq "ean128" |
|
0 |
0 |
0 |
$format eq "code128" or $format eq "ean128" or $format eq "code39" |
2488
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 10 * $options{'bar_width'} |
2490
|
0 |
0 |
0 |
$options{'font_size'} //= 9 * $options{'bar_width'} |
2495
|
0 |
0 |
0 |
$options{'bar_height'} //= &max(18, $length * "0.15") |
2500
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 11 * $options{'bar_width'} |
2502
|
0 |
0 |
0 |
$options{'font_size'} //= 10 * $options{'bar_width'} |
2507
|
0 |
0 |
0 |
$options{'bar_height'} //= &max(36, $length * "0.15") |
2513
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 10 * $options{'bar_width'} |
2515
|
0 |
0 |
0 |
$options{'font_size'} //= 9 * $options{'bar_width'} |
2521
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 11 * $options{'bar_width'} |
2523
|
0 |
0 |
0 |
$options{'bar_extend'} //= 5 * $options{'bar_width'} |
2526
|
0 |
0 |
0 |
$options{'font_size'} //= 10 * $options{'bar_width'} |
2531
|
0 |
0 |
0 |
$options{'bar_height'} //= $options{'bar_width'} |
2532
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 4 * $options{'bar_width'} |
2541
|
0 |
0 |
0 |
$options{'bar_extend'} or $options{'font_size'} |
2542
|
0 |
0 |
0 |
$options{'font'} //= $self->font("Helvetica") |
2872
|
0 |
0 |
0 |
$root->{'Names'} ||= PDFDict() |
2873
|
0 |
0 |
0 |
$root->{'Names'}{$cat} ||= PDFDict() |
2875
|
0 |
0 |
0 |
$root->{'Names'}{$cat}{'Limits'} ||= PDFArray() |
2876
|
0 |
0 |
0 |
$root->{'Names'}{$cat}{'Names'} ||= PDFArray() |