Condition Coverage

blib/lib/Image/ExifTool/PLIST.pm
Criterion Covered Total %
condition 47 86 54.6


and 3 conditions

line !l l&&!r l&&r condition
163 2 0 0 $val =~ /^[0-9a-f]+$/ and not length $val & 1
211 2 2 14 $et->{'LastPListTag'} and $et->{'LastPListTag'} ne $tagInfo
216 17 1 0 $plistType{$tag} and $et->{'FILE_TYPE'} eq "XMP"
219 17 0 1 $tagInfo->{'CompressedPLIST'} and ref $val eq "SCALAR"
17 1 0 $tagInfo->{'CompressedPLIST'} and ref $val eq "SCALAR" and not $$val =~ /^bplist00/
266 20 0 3 $type == 3 and defined $val
288 0 0 5 defined $size and $size =~ /^\d+$/
319 3 6 0 defined $parent and length $parent > 1000
330 0 0 29 defined $key and length $key
340 0 0 0 defined $key && $key =~ /^[-_a-zA-Z0-9]+$/
364 2 0 22 $et->{'LastPListTag'} and $et->{'LastPListTag'} ne $tagInfo
375 0 1 9 defined $val and ref $val ne "HASH"
400 6 0 0 $dirInfo->{'DirLen'} and $dirInfo->{'DirLen'} != length $$dataPt
410 0 0 8 $raf->Seek(-32, 2) and $raf->Read($buff, 32) == 32
423 0 0 8 $raf->Seek($tableOff, 0) and $raf->Read($buff, $tableSize) == $tableSize
464 0 0 4 $raf->Seek(0, 0) and $raf->Read($buff, 64)
469 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 $$dataPt =~ /^\xfe\xff\x00/

or 2 conditions

line l !l condition
151 35 2 $et->{'PListKeys'} || ($et->{'PListKeys'} = [])
401 1 0 $start || 0
406 1 6 $dirInfo->{'DirStart'} || 0
451 0 1 $dirInfo->{'DirStart'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
162 1 0 32 $prop eq "true" or $prop eq "false"
260 18 2 60 $type == 1 or $type == 2
20 3 57 $type == 1 or $type == 2 or $type == 3
290 5 0 9 $type == 10 or $type == 12
5 9 0 $type == 10 or $type == 12 or $type == 13
291 2 0 0 $size < 1000000 or $et->Options("Binary")
355 0 0 0 length $name < 2 or $name =~ /^[-0-9]/
400 1 0 6 $start or $dirInfo->{'DirLen'} and $dirInfo->{'DirLen'} != length $$dataPt