Condition Coverage

blib/lib/CAM/PDFTaxforms.pm
Criterion Covered Total %
condition 13 39 33.3


and 3 conditions

line !l l&&!r l&&r condition
253 0 2 1 $propdict->{'FT'} and $self->getValue($propdict->{'FT'}) =~ /^Btn$/o
335 0 0 25 $propdict->{'FT'} and $self->getValue($propdict->{'FT'}) =~ /^(Tx|Btn)$/o
483 23 0 0 $fontmetrics and not $fontsize
492 0 0 0 $w and $w > $stringwidth
649 2 0 218 defined $parentname and $parentname ne ''
772 0 0 22413 defined $key and $key

or 2 conditions

line l !l condition
476 13 10 $self->getValue($propdict->{'Q'}) || 0
494 0 0 $lines ||= 1
779 0 0 $objnum || ''

or 3 conditions

line l !l&&r !l&&!r condition
320 0 0 25 not $key or ref $key
351 0 0 0 !$value || $value =~ /^(?:Off|No|Unchecked)$/io
539 0 0 13 $stringwidth or $fontmetrics
670 0 0 218 not ref $kid or ref $kid ne 'CAM::PDF::Node'
0 0 218 not ref $kid or ref $kid ne 'CAM::PDF::Node' or $kid->{'type'} ne 'reference'