Condition Coverage

blib/lib/Image/ExifTool/WritePhotoshop.pl
Criterion Covered Total %
condition 15 29 51.7


and 3 conditions

line !l l&&!r l&&r condition
101 87 0 3 $newTags->{$tagID} and $type eq "8BIM"
109 3 0 0 not $isOverwriting and $tagInfo eq $Image::ExifTool::Photoshop::iptcDigestInfo
112 0 0 0 $et->{'NewIPTCDigest'} and $et->{'NewIPTCDigest'} eq $value
116 0 0 0 $et->{'OldIPTCDigest'} and $et->{'OldIPTCDigest'} eq $value
145 31 23 22 $tmpInfo and $tmpInfo->{'SubDirectory'}
23 22 0 $tmpInfo and $tmpInfo->{'SubDirectory'} and $tmpInfo->{'SubDirectory'}{'TagTable'} ne 'Image::ExifTool::Exif::Main' || $et->{'FILE_TYPE'} eq 'PSD' && ($editDirs->{'1028'} || $editDirs->{'1060'})
194 20 0 1 $tagInfo eq $Image::ExifTool::Photoshop::iptcDigestInfo and defined $value

or 2 conditions

line l !l condition
54 8 22 $dirInfo->{'DirStart'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
55 10 0 20 $dirInfo->{'DirLen'} || length($$dataPt) - $start
145 22 0 0 $tmpInfo->{'SubDirectory'}{'TagTable'} ne 'Image::ExifTool::Exif::Main' || $et->{'FILE_TYPE'} eq 'PSD' && ($editDirs->{'1028'} || $editDirs->{'1060'})