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
703 0 0 4 $len == 0 and $num == 0
783 0 0 0 $raf->Seek($n, 1) and $raf->Read($buff, 4) == 4
787 0 0 0 $raf->Seek($n, 1) and $raf->Read($buff, 1) == 1
808 0 0 0 $psb and $tag =~ /^(LMsk|Lr16|Lr32|Layr|Mt16|Mt32|Mtrn|Alph|FMsk|lnk2|FEid|FXid|PxSD)$/
869 0 0 0 $raf->Read($buff, $pos) == $pos and $buff =~ /^Adobe Photoshop Document Data (Block|V0002)\0/
886 0 0 0 $psb and $tag =~ /^(LMsk|Lr16|Lr32|Layr|Mt16|Mt32|Mtrn|Alph|FMsk|lnk2|FEid|FXid|PxSD)$/
900 0 0 0 $tagInfo and $tagInfo->{'SubDirectory'}
937 88 0 5 $Image::ExifTool::MWG::strict || $et->Options('Validate') and $et->{'FILE_TYPE'} =~ /^(JPEG|TIFF|PSD)$/
950 33 60 0 $et->{'FILE_TYPE'} eq "JPEG" and $dirInfo->{'Parent'} ne "APP13"
1000 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[/#]
1019 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'}
1121 0 0 4 &ProcessLayersAndMask($et, \%dirInfo, $tagTablePtr) and $raf->Read($data, 2) == 2

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
688 4 0 0 $fileType eq "PSD" or $fileType eq "PSB"
803 0 0 0 $sig eq "8BIM" or $sig eq "8B64"
820 0 0 0 $tagTablePtr->{$tag} or $verbose
884 0 0 0 $sig eq "8BIM" or $sig eq "8B64"
899 0 0 0 $tagInfo or $verbose
937 5 0 88 $Image::ExifTool::MWG::strict || $et->Options('Validate')