Condition Coverage

blib/lib/CAM/PDFTaxforms.pm
Criterion Covered Total %
condition 15 45 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
367 0 0 2 $dict->{'AP'}{'value'}{'N'}{'value'} && ref($dict->{'AP'}{'value'}{'N'}{'value'}) =~ /^HASH/
394 0 0 0 $fieldType eq 'Btn' && defined $dict->{'AS'}{'value'} && $dict->{'AS'}{'value'} && defined $dict->{'AP'}{'value'}{'N'}{'value'}{$dict->{'AS'}{'value'}}{'value'}
497 23 0 0 $fontmetrics and not $fontsize
506 0 0 0 $w and $w > $stringwidth
665 2 0 220 defined $parentname and $parentname ne ''
785 0 0 22413 defined $key and $key

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
320 0 0 25 not $key or ref $key
361 0 0 2 not $value or $value =~ /^(?:Off|No|Unchecked)$/io
553 0 0 13 $stringwidth or $fontmetrics
686 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'