Condition Coverage

blib/lib/Image/ExifTool/PLIST.pm
Criterion Covered Total %
condition 43 75 57.3


and 3 conditions

line !l l&&!r l&&r condition
129 2 0 0 $val =~ /^[0-9a-f]+$/ and not length $val & 1
177 2 2 14 $et->{'LastPListTag'} and $et->{'LastPListTag'} ne $tagInfo
182 17 1 0 $plistType{$tag} and $et->{'FILE_TYPE'} eq "XMP"
218 10 0 3 $type == 3 and defined $val
240 0 0 4 defined $size and $size =~ /^\d+$/
271 2 1 0 defined $parent and length $parent > 1000
281 0 0 15 defined $key and length $key
303 2 0 12 $et->{'LastPListTag'} and $et->{'LastPListTag'} ne $tagInfo
315 0 0 9 defined $val and ref $val ne "HASH"
340 4 0 0 $dirInfo->{'DirLen'} and $dirInfo->{'DirLen'} != length $$dataPt
350 0 0 6 $raf->Seek(-32, 2) and $raf->Read($buff, 32) == 32
363 0 0 6 $raf->Seek($tableOff, 0) and $raf->Read($buff, $tableSize) == $tableSize
396 0 0 4 $raf->Seek(0, 0) and $raf->Read($buff, 64)
397 3 0 0 $et->{'FILE_EXT'} and $et->{'FILE_EXT'} eq "PLIST"
3 0 0 $et->{'FILE_EXT'} and $et->{'FILE_EXT'} eq "PLIST" and $buff =~ /^\xfe\xff\x00/

or 2 conditions

line l !l condition
117 35 2 $et->{'PListKeys'} || ($et->{'PListKeys'} = [])
341 1 0 $start || 0
346 1 4 $dirInfo->{'DirStart'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
128 1 0 32 $prop eq "true" or $prop eq "false"
212 9 1 38 $type == 1 or $type == 2
10 3 35 $type == 1 or $type == 2 or $type == 3
242 4 0 3 $type == 10 or $type == 12
4 3 0 $type == 10 or $type == 12 or $type == 13
243 1 0 0 $size < 1000000 or $et->Options("Binary")
288 0 1 14 not defined $val or ref $val eq "HASH"
340 1 0 4 $start or $dirInfo->{'DirLen'} and $dirInfo->{'DirLen'} != length $$dataPt