Branch Coverage

blib/lib/Image/MetaData/JPEG/parsers/app2.pl
Criterion Covered Total %
branch 24 32 75.0


line true false branch
28 4 21 if $this->data(0, length $Image::MetaData::JPEG::Segment::APP2_FPXR_TAG) eq $Image::MetaData::JPEG::Segment::APP2_FPXR_TAG
31 20 1 if $this->data(0, length $Image::MetaData::JPEG::Segment::APP2_ICC_TAG) eq $Image::MetaData::JPEG::Segment::APP2_ICC_TAG
70 0 4 if $identifier ne $Image::MetaData::JPEG::Segment::APP2_FPXR_TAG
77 1 3 if ($type == 1) { }
1 2 elsif ($type == 2) { }
1 1 elsif ($type == 3) { }
92 0 2 if $this->data($offset, 2) ne "/\000"
98 0 2 if $size == 4294967295
171 0 20 if $identifier ne $Image::MetaData::JPEG::Segment::APP2_ICC_TAG
207 0 20 if $reserved ne "\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000\000"
266 0 340 if $tag_pad ne "\000\000\000\000"
274 40 300 if $tag_desc =~ /text|sig /
275 0 340 if $tag_desc =~ /ui08/
276 0 340 if $tag_desc =~ /ui16|dtim/
277 140 200 if $tag_desc =~ /ui32|XYZ |view/
283 200 140 $tag_length == 0 ? :