Condition Coverage

blib/lib/Image/ExifTool/WriteRIFF.pl
Criterion Covered Total %
condition 27 65 41.5


and 3 conditions

line !l l&&!r l&&r condition
65 0 0 6 $1 eq "RIFF" and $2 eq "WEBP"
86 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'}
169 18 0 0 $tag eq "XMP " and $addDirs->{'EXIF'}
172 8 0 0 $doneDir{$tag} and not $pass
186 26 6 0 $addDirs->{$dir} and $tag eq '' || $tag eq 'XMP ' && $dir eq 'EXIF'
258 8 2 0 not $handledTag and length $buff
315 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
240 4 0 &Write($outfile, $dirDat{$dir}) or $err = 1

or 3 conditions

line l !l&&r !l&&!r condition
85 1 0 0 $has{'ANIM'} || $has{'XMP '} || $has{'EXIF'} || $has{'ALPH'} || $has{'ICCP'}
114 0 0 0 &Write($outfile, $dirDat{'ICCP'}) or $err = 1
129 2 0 6 $addDirs->{'EXIF'} or $addDirs->{'XMP '}
0 0 6 $addDirs->{'EXIF'} or $addDirs->{'XMP '} or $addDirs->{'ICCP'}
169 8 2 18 $editDirs->{$tag} or $tag eq ""
10 0 18 $editDirs->{$tag} or $tag eq "" or $tag eq "XMP " and $addDirs->{'EXIF'}
186 4 0 2 $tag eq '' || $tag eq 'XMP ' && $dir eq 'EXIF'
8 0 32 $tag eq $dir or $addDirs->{$dir} and $tag eq '' || $tag eq 'XMP ' && $dir eq 'EXIF'
275 0 0 6 $len2 < 10 or $raf->Read($buf2, $len2) != $len2
300 0 0 0 &Write($outfile, $dirDat{'ICCP'}) or $err = 1
313 6 6 0 $pass or defined $imageWidth