Condition Coverage

blib/lib/Image/ExifTool/GIF.pm
Criterion Covered Total %
condition 37 120 30.8


and 3 conditions

line !l l&&!r l&&r condition
192 0 0 7 $raf->Read($buff, 6) == 6 and $buff =~ /^GIF(8[79]a)$/
0 0 7 $raf->Read($buff, 6) == 6 and $buff =~ /^GIF(8[79]a)$/ and $raf->Read($s, 7) == 7
208 6 9 6 $extInfo->{'SubDirectory'} and $extInfo->{'Writable'}
9 6 0 $extInfo->{'SubDirectory'} and $extInfo->{'Writable'} and not $gifMap{$extInfo->{'Name'}}
241 19 8 6 $outfile and ord $ch != 33
243 6 0 0 defined $newComment and $nvComment->{'IsCreating'}
268 4 8 0 exists $addDirs->{$name} and not defined $doneDir{$name}
282 0 0 1 defined $buff and length $buff
313 0 0 7 $raf->Read($buff, 8) == 8 and $raf->Read($ch, 1)
315 7 0 0 $verbose and not $outfile
355 0 0 12 $a == 255 and $length == 11
0 0 0 $a == 249 and $length == 4
0 0 0 $a == 1 and $length == 12
425 7 4 1 $outfile and $$newExt{$extInfo->{'TagID'}}
434 7 5 0 $outfile and not $extInfo->{'Writable'}
454 0 0 7 $extInfo->{'Terminator'} and $dat =~ /$extInfo->{'Terminator'}/g
460 0 0 1 $outfile and not $justCopy
474 4 0 0 $doneDir{$name} and $doneDir{$name} > 1
485 0 0 1 $nvHash and $et->IsOverwriting($nvHash, $dat)
489 0 0 1 defined $val and length $val
501 0 3 0 $inclLen and $dat =~ /\0/
543 0 0 0 $verbose and not $outfile
575 0 7 0 $rtnVal and $err

or 3 conditions

line l !l&&r !l&&!r condition
217 3 0 0 $nvComment or $delGroup->{'File'}
219 3 0 0 %$addDirs or defined $newComment
232 3 0 0 &Write($outfile, $buff) or $err = 1
311 3 0 0 &Write($outfile, $ch) or $err = 1
314 3 0 0 &Write($outfile, $buff, $ch) or $err = 1
323 0 0 0 &Write($outfile, $buff) or $err = 1
327 3 0 0 &Write($outfile, $buff) or $err = 1
331 6 0 0 &Write($outfile, $ch) or $err = 1
334 3 0 0 &Write($outfile, $buff) or $err = 1
438 0 0 0 &Write($outfile, $hdr) or $err = 1
446 0 0 0 &Write($outfile, $ch, $buff) or $err = 1
542 0 0 0 &Write($outfile, $ch, $s, $buff) or $err = 1
552 0 0 0 &Write($outfile, $ch, $buff) or $err = 1
555 0 0 0 &Write($outfile, "\0") or $err = 1
559 0 0 0 &Write($outfile, $ch, $s) or $err = 1
563 0 0 0 &Write($outfile, $buff) or $err = 1
565 0 0 0 &Write($outfile, $ch) or $err = 1