Branch Coverage

blib/lib/Image/ExifTool/BZZ.pm
Criterion Covered Total %
branch 41 62 66.1


line true false branch
149 0 1 unless ($djvucompat)
154 0 0 if ($m->[$j] > 0 and $a + $p->[$j] >= 32768 and $a >= $m->[$j])
168 1 0 if (length $$dataPt >= 2) { }
0 0 elsif (length $$dataPt >= 1) { }
182 1 0 $self->{'code'} >= 32768 ? :
196 0 1 if (ref $_[0] and UNIVERSAL::isa($_[0], 'Image::ExifTool::BZZ')) { }
202 1 0 if ($dataPt) { }
205 0 0 unless $dataPt = $self->{'DataPt'}
216 0 1 unless $self->{'size'}
217 0 1 if $self->{'size'} > MAXBLOCK() * 1024
219 1 0 if ($self->{'blocksize'} < $self->{'size'})
224 0 1 if ($self->decode_sub(32768 + ($self->{'a'} >> 1)))
226 0 0 if $self->decode_sub(32768 + ($self->{'a'} >> 1))
241 1381 585 if $ctxid > $mtfno
245 1382 1290 if ($self->decoder($$cx[$cp + $ctxid]))
254 583 1386 if ($self->decoder($cx->[$cp]))
275 81 1884 if ($fadd > 268435456)
281 1458 507 if $mtfno < FREQMAX()
298 0 1 if $markerpos < 1 or $markerpos >= $self->{'size'}
334 0 1 if $i != $markerpos
346 2416 4187 if ($z <= $self->{'fence'})
362 367 3845 if ($self->{'scount'} < 16)
365 734 2 if ($self->{'Pos'} < $self->{'DataLen'}) { }
370 0 2 if (--$self->{'delay'} < 1)
383 4187 25 if (defined $ctx) { }
387 1868 2319 if $z > $d
392 2203 2009 if ($z > ($code = $self->{'code'})) { }
399 2195 8 if defined $ctx
401 0 2203 $a >= 65280 ? :
407 1881 128 if defined $ctx and $a >= $self->{'m'}[$ctx]
414 2564 1648 $code >= 32768 ? :