Condition Coverage

blib/lib/Image/IPTCInfo/TemplateFile.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
83 0 0 4 not ref $_[0] and $#_ > 0
114 3 0 16 defined $tag and $tag == 28
0 0 16 defined $record and $record == 2
3 16 0 defined $tag and $tag == 28 and (defined $record and $record == 2)
150 0 0 0 defined $object and ref $object

or 2 conditions

line l !l condition
92 4 0 $class || 'Image::IPTCInfo::TemplateFile'
191 1 0 $$self{$key} || 0
192 1 0 $$self{$key} || ''

or 3 conditions

line l !l&&r !l&&!r condition
187 0 0 1 not $dataset or $dataset == 0