Condition Coverage

blib/lib/Image/ExifTool/Photoshop.pm
Criterion Covered Total %
condition 19 69 27.5


and 3 conditions

line !l l&&!r l&&r condition
727 0 0 4 $len == 0 and $num == 0
807 0 0 0 $raf->Seek($n, 1) and $raf->Read($buff, 4) == 4
811 0 0 0 $raf->Seek($n, 1) and $raf->Read($buff, 1) == 1
832 0 0 0 $psb and $tag =~ /^(LMsk|Lr16|Lr32|Layr|Mt16|Mt32|Mtrn|Alph|FMsk|lnk2|FEid|FXid|PxSD)$/
900 0 0 0 $raf->Read($buff, $pos) == $pos and $buff =~ /^Adobe Photoshop Document Data (Block|V0002)\0/
917 0 0 0 $psb and $tag =~ /^(LMsk|Lr16|Lr32|Layr|Mt16|Mt32|Mtrn|Alph|FMsk|lnk2|FEid|FXid|PxSD)$/
931 0 0 0 $tagInfo and $tagInfo->{'SubDirectory'}
968 88 0 5 $Image::ExifTool::MWG::strict || $et->Options('Validate') and $et->{'FILE_TYPE'} =~ /^(JPEG|TIFF|PSD)$/
981 33 60 0 $et->{'FILE_TYPE'} eq "JPEG" and $dirInfo->{'Parent'} ne "APP13"
1031 401 781 0 $tagInfo and defined $tagInfo->{'SetResourceName'}
1182 0 0 $tagInfo and defined $tagInfo->{'SetResourceName'} and $tagInfo->{'SetResourceName'} eq 1
781 0 0 $tagInfo and defined $tagInfo->{'SetResourceName'} and $tagInfo->{'SetResourceName'} eq 1 and not $name =~ m[/#]
1050 33 23 37 $et->{'VALUE'}{'IPTCDigest'} and $et->{'VALUE'}{'CurrentIPTCDigest'}
23 5 32 $et->{'VALUE'}{'IPTCDigest'} and $et->{'VALUE'}{'CurrentIPTCDigest'} and $et->{'VALUE'}{'IPTCDigest'} ne $et->{'VALUE'}{'CurrentIPTCDigest'}
1152 0 0 4 &ProcessLayersAndMask($et, \%dirInfo, $tagTablePtr) and $raf->Read($data, 2) == 2

or 2 conditions

line l !l condition
696 0 0 $et->Options('CharsetPhotoshop') || 'Latin'
818 0 0 $raf->Seek(4 - $frag, 1) or last
894 0 0 $dirInfo->{'DirStart'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
712 4 0 0 $fileType eq "PSD" or $fileType eq "PSB"
827 0 0 0 $sig eq "8BIM" or $sig eq "8B64"
844 0 0 0 $tagTablePtr->{$tag} or $verbose
915 0 0 0 $sig eq "8BIM" or $sig eq "8B64"
930 0 0 0 $tagInfo or $verbose
968 5 0 88 $Image::ExifTool::MWG::strict || $et->Options('Validate')