Branch Coverage

blib/lib/Image/ExifTool/ITC.pm
Criterion Covered Total %
branch 24 44 54.5


line true false branch
95 1 2 unless ($n == 8)
97 1 0 unless $n
101 1 1 if ($rtnVal) { }
102 0 1 unless $size >= 8 and $size < 2147483648
106 0 1 unless $tag eq "itch"
107 0 1 unless $size >= 28 and $size < 65536
113 1 1 if ($tag eq 'itch') { }
1 0 elsif ($tag eq 'item') { }
116 0 1 unless $raf->Read($buff, $size) == $size
127 0 1 unless $size > 12
128 0 1 unless $raf->Read($buff, 4) == 4
130 0 1 unless $len >= 208 and $len <= $size
136 0 4 unless $raf->Read($buff, 4) == 4
138 1 3 if $buff eq "\0\0\0\0"
140 0 1 if $len < 4
142 0 1 unless $raf->Read($buff, $len) == $len
143 0 1 unless ($len >= 180 and substr($buff, 176, 4) eq "data")
156 1 0 if ($size > 0) { }
0 0 elsif ($size < 0) { }
162 0 1 unless $raf->Seek($pos + $size, 0)
168 0 0 unless $raf->Seek($size - 8, 1)
171 0 1 if $err