Condition Coverage

blib/lib/PDF/API3/Compat/API2.pm
Criterion Covered Total %
condition 0 97 0.0


and 3 conditions

line !l l&&!r l&&r condition
933 0 0 0 defined $$self{'reopened'} and $$self{'reopened'} == 1
1054 0 0 0 $rotate = $page->find_prop('Rotate') and !defined($$page{' fixed'}) || $$page{' fixed'} < 1
1058 0 0 0 $rotate != 0 and not $self->default('nounrotate')
1085 0 0 0 defined $$page{'Contents'} and !defined($$page{' fixed'}) || $$page{' fixed'} < 1
1343 0 0 0 exists $$s_page{'Annots'} and $$s_page{'Annots'}
0 0 0 exists $$s_page{'Annots'} and $$s_page{'Annots'} and $$self{'copyannots'}
1400 0 0 0 $AcroForm and $$t_a{'Subtype'}->val eq 'Widget'
1612 0 0 0 scalar @fonts > 0 and not -f $fonts[0]

or 2 conditions

line l !l condition
600 0 0 $opt{$k} || 'NONE'
604 0 0 $opt{$k} || 'NONE'
989 0 0 shift() || 0
1031 0 0 shift @_ || 0
1208 0 0 shift @_ || 0
1222 0 0 $$self{'apiimportcache'} ||= {}
1223 0 0 $$self{'apiimportcache'}{$s_pdf} ||= {}
1310 0 0 shift @_ || 0
1311 0 0 shift @_ || 0
1332 0 0 $$self{'apiimportcache'} || {}
1333 0 0 $$self{'apiimportcache'}{$s_pdf} || {}
2243 0 0 $samples ||= 2
2444 0 0 $$root{'Names'}{$cat}{-'vals'} ||= {}
2532 0 0 $$dict{$type}{$key} || undef

or 3 conditions

line l !l&&r !l&&!r condition
161 0 0 0 $$self{'pages'}{'Resources'} ||= PDFDict()
459 0 0 0 $$self{'catalog'}{'ViewerPreferences'} ||= PDFDict()
616 0 0 0 unpack('n', $opt{$k}) == 65534 or unpack('n', $opt{$k}) == 65279
748 0 0 0 $$self{'catalog'}{'PageLabels'} ||= PDFDict()
749 0 0 0 $$self{'catalog'}{'PageLabels'}{'Nums'} ||= PDFArray()
1054 0 0 0 !defined($$page{' fixed'}) || $$page{' fixed'} < 1
1085 0 0 0 !defined($$page{' fixed'}) || $$page{' fixed'} < 1
2419 0 0 0 $$self{'pdf'}{'Root'}{'Outlines'} ||= 'PDF::API3::Compat::API2::Outlines'->new($self)
2442 0 0 0 $$root{'Names'} ||= PDFDict()
2443 0 0 0 $$root{'Names'}{$cat} ||= PDFDict()
2445 0 0 0 $$root{'Names'}{$cat}{'Limits'} ||= PDFArray()
2446 0 0 0 $$root{'Names'}{$cat}{'Names'} ||= PDFArray()
2498 0 0 0 $$self{'pages'}{'Resources'} ||= PDFDict()
2505 0 0 0 $$dict{$type} || PDFDict()
2516 0 0 0 $$dict{$type}{$key} || $obj