Condition Coverage

blib/lib/Image/ExifTool/WriteRIFF.pl
Criterion Covered Total %
condition 27 63 42.8


and 3 conditions

line !l l&&!r l&&r condition
57 0 0 6 $1 eq "RIFF" and $2 eq "WEBP"
75 0 3 0 $has{'VP8X'} and not $needsVP8X
3 0 0 $has{'VP8X'} and not $needsVP8X and $et->{'CHANGED'}
0 3 0 $needsVP8X and not $has{'VP8X'}
146 18 0 0 $tag eq "XMP " and $addDirs->{'EXIF'}
149 8 0 0 $doneDir{$tag} and not $pass
163 16 6 0 $addDirs->{$dir} and $tag eq '' || $tag eq 'XMP ' && $dir eq 'EXIF'
224 8 2 0 not $handledTag and length $buff
281 0 0 0 $tag eq "VP8 " and $len2 >= 16
0 0 0 $tag eq "VP8L" and $len2 >= 6

or 2 conditions

line l !l condition
103 0 0 &Write($outfile, $dirDat{'ICCP'}) or $err = 1
206 4 0 &Write($outfile, $dirDat{$dir}) or $err = 1
266 0 0 &Write($outfile, $dirDat{'ICCP'}) or $err = 1

or 3 conditions

line l !l&&r !l&&!r condition
74 1 0 0 $has{'ANIM'} || $has{'XMP '} || $has{'EXIF'} || $has{'ALPH'} || $has{'ICCP'}
118 2 0 6 $addDirs->{'EXIF'} or $addDirs->{'XMP '}
0 0 6 $addDirs->{'EXIF'} or $addDirs->{'XMP '} or $addDirs->{'ICCP'}
146 8 2 18 $editDirs->{$tag} or $tag eq ""
10 0 18 $editDirs->{$tag} or $tag eq "" or $tag eq "XMP " and $addDirs->{'EXIF'}
163 4 0 2 $tag eq '' || $tag eq 'XMP ' && $dir eq 'EXIF'
8 0 22 $tag eq $dir or $addDirs->{$dir} and $tag eq '' || $tag eq 'XMP ' && $dir eq 'EXIF'
241 0 0 6 $len2 < 10 or $raf->Read($buf2, $len2) != $len2
279 6 6 0 $pass or defined $imageWidth