Condition Coverage

blib/lib/Image/ExifTool/WritePNG.pl
Criterion Covered Total %
condition 11 38 28.9


and 3 conditions

line !l l&&!r l&&r condition
71 2 0 2 $rawType ne $Image::ExifTool::PNG::stdCase{'exif'} and eval { do { require Compress::Zlib } }
130 0 0 1 defined $buff and length $buff
196 1 10 0 $et->{'OPTIONS'}{'Charset'} ne "Latin" and $val =~ /[\x80-\xff]/
224 0 0 0 $warn and $comp == 1
311 0 0 2 defined $buff and length $buff
319 0 0 0 defined $buff and length $buff
0 0 0 defined $buff and length $buff and &Image::ExifTool::XMP::ValidateXMP(\$buff, "r")
339 0 0 1 defined $buff and length $buff
347 0 0 0 defined $buff and length $buff
357 0 0 1 defined $buff and length $buff

or 2 conditions

line l !l condition
231 1 3 $lang || ''

or 3 conditions

line l !l&&r !l&&!r condition
168 0 0 0 $et->{'DEL_GROUP'}{$dir} or $et->{'DEL_GROUP'}{$saveDir}
269 13 0 0 $nvHash->{'IsCreating'} or $et->IsOverwriting($nvHash) > 0