| 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'} |
|
2337
|
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'} // "" |
|
1993
|
0 |
0 |
$format //= "truetype" |
|
1999
|
0 |
0 |
$options{'embed'} //= 1 |
|
2193
|
0 |
0 |
$opts{'embed'} //= 0 |
|
2195
|
0 |
0 |
$opts{'embed'} //= 1 |
|
2284
|
0 |
3 |
$options{'format'} // "" |
|
2516
|
0 |
0 |
$options{'bar_width'} //= "1.8" |
|
2517
|
0 |
0 |
$options{'bar_extend'} //= 0 |
|
2528
|
0 |
0 |
$options{'bar_width'} //= 1 |
|
2529
|
0 |
0 |
$options{'bar_extend'} //= 0 |
|
2540
|
0 |
0 |
$options{'bar_width'} //= 1 |
|
2541
|
0 |
0 |
$options{'bar_height'} //= 40 |
|
2542
|
0 |
0 |
$options{'bar_extend'} //= 0 |
|
2549
|
0 |
0 |
$options{'bar_width'} //= 1 |
|
2550
|
0 |
0 |
$options{'bar_height'} //= "64.8" |
|
2560
|
0 |
0 |
$options{'bar_width'} //= 1 |
|
2569
|
0 |
0 |
$options{'font_size'} //= 10 |
|
2904
|
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() |
|
1994
|
0 |
0 |
0 |
$format //= $name =~ /\.[ot]tf$/i ? "truetype" : ($name =~ /\.pf[ab]$/i ? "type1" : ($name =~ /\.bdf$/i ? "bitmap" : "")) |
|
2290
|
0 |
3 |
0 |
$format ||= _detect_image_format($file) |
|
2293
|
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" : "")))) |
|
2370
|
0 |
3 |
0 |
$opts{'-compress'} //= $self->{'forcecompress'} |
|
2515
|
0 |
0 |
0 |
$format eq "code128" or $format eq "ean128" |
|
|
0 |
0 |
0 |
$format eq "code128" or $format eq "ean128" or $format eq "code39" |
|
2518
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 10 * $options{'bar_width'} |
|
2520
|
0 |
0 |
0 |
$options{'font_size'} //= 9 * $options{'bar_width'} |
|
2525
|
0 |
0 |
0 |
$options{'bar_height'} //= &max(18, $length * "0.15") |
|
2530
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 11 * $options{'bar_width'} |
|
2532
|
0 |
0 |
0 |
$options{'font_size'} //= 10 * $options{'bar_width'} |
|
2537
|
0 |
0 |
0 |
$options{'bar_height'} //= &max(36, $length * "0.15") |
|
2543
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 10 * $options{'bar_width'} |
|
2545
|
0 |
0 |
0 |
$options{'font_size'} //= 9 * $options{'bar_width'} |
|
2551
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 11 * $options{'bar_width'} |
|
2553
|
0 |
0 |
0 |
$options{'bar_extend'} //= 5 * $options{'bar_width'} |
|
2556
|
0 |
0 |
0 |
$options{'font_size'} //= 10 * $options{'bar_width'} |
|
2561
|
0 |
0 |
0 |
$options{'bar_height'} //= $options{'bar_width'} |
|
2562
|
0 |
0 |
0 |
$options{'quiet_zone'} //= 4 * $options{'bar_width'} |
|
2571
|
0 |
0 |
0 |
$options{'bar_extend'} or $options{'font_size'} |
|
2572
|
0 |
0 |
0 |
$options{'font'} //= $self->font("Helvetica") |
|
2902
|
0 |
0 |
0 |
$root->{'Names'} ||= PDFDict() |
|
2903
|
0 |
0 |
0 |
$root->{'Names'}{$cat} ||= PDFDict() |
|
2905
|
0 |
0 |
0 |
$root->{'Names'}{$cat}{'Limits'} ||= PDFArray() |
|
2906
|
0 |
0 |
0 |
$root->{'Names'}{$cat}{'Names'} ||= PDFArray() |