Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
100 0 0 0 $$self{-'docompress'} == 1 and $$self{'Filter'}
148 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
168 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
355 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
366 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
567 0 0 0 scalar @clr == 1 and ref $clr[0]
0 0 0 scalar @clr > 1 and ref $clr[0]
686 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
716 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
735 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
754 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
781 0 0 0 defined $$self{' apiistext'} and $$self{' apiistext'} == 1
930 0 0 0 $x < 0 and $y > 0
931 0 0 0 $x < 0 and $y < 0
1283 0 0 0 $state{'font'} and $state{'fontsize'}
1339 0 0 0 $state{'font'} and $state{'fontsize'}
1881 0 0 0 not $over and scalar @line > 1
0 0 0 not $over and scalar @line > 1 and $self->advancewidth("@line") > $width
1900 0 0 0 defined $opts{-'spillover'} && $opts{-'spillover'} == 0
1915 0 0 0 defined $opts{-'spillover'} && $opts{-'spillover'} == 0
1930 0 0 0 defined $opts{-'spillover'} && $opts{-'spillover'} == 0
1945 0 0 0 defined $opts{-'spillover'} && $opts{-'spillover'} == 0

or 2 conditions

line l !l condition
267 0 0 $a{-'full'} || 0
0 0 $a{-'clear'} || 0
268 0 0 $a{-'shift'} || 0
1427 0 0 $opt{'-rotate'} || 0
1652 0 0 $width || 0
1740 0 0 $color ||= 'black'
1752 0 0 -$$self{' font'}->underlineposition * $$self{' fontsize'} / 1000 || 1
1753 0 0 $$self{' font'}->underlinethickness * $$self{' fontsize'} / 1000 || 1
2175 0 0 $$dict{$type}{$key} || undef

or 3 conditions

line l !l&&r !l&&!r condition
1239 0 0 0 not defined $$self{' apiistext'} or $$self{' apiistext'} != 1
1341 0 0 0 $$self{' font'} ne $state{'font'} or $$self{' fontsize'} ne $state{'fontsize'}
1949 0 0 0 $ret or $w >= $width
2132 0 0 0 $opts{-'right'} or $opts{-'align'} =~ /^r/i
0 0 0 $opts{-'center'} or $opts{-'align'} =~ /^c/i
2166 0 0 0 $$self{'Resources'} ||= PDFDict()
2171 0 0 0 $$dict{$type} ||= PDFDict()
2185 0 0 0 $$dict{$type}{$key} ||= $obj