Condition Coverage

blib/lib/Image/ExifTool/Protobuf.pm
Criterion Covered Total %
condition 33 53 62.2


and 3 conditions

line !l l&&!r l&&r condition
157 9066 2063 0 $type == 2 and $buff =~ /\.proto$/
165 1571 8 51 $type != 2 and $tagInfo->{'Unknown'}
8 0 51 $type != 2 and $tagInfo->{'Unknown'} and not $unknown
171 8 36 2027 $type == 2 and $tagInfo->{'Unknown'}
172 137 145 570 not defined $tagInfo->{'IsProtobuf'} and $buff =~ /[^\x20-\x7e]/
282 198 372 not defined $tagInfo->{'IsProtobuf'} and $buff =~ /[^\x20-\x7e]/ and &IsProtobuf(\$buff)
184 5 13 0 $type == 2 and $tagInfo->{'Format'} eq "rational"
186 3 0 0 $tagInfo->{'Format'} eq "int64s" and $val >= $int64sMin
205 0 0 0 defined $num && $den
246 0 23 0 $denom and $dir{'Pos'} == length $buff

or 2 conditions

line l !l condition
135 0 1539 $dirInfo->{'DirStart'} || 0
138 0 1539 $dirInfo->{'Base'} || 0
1538 1 $dirInfo->{'DataPos'} || 0
141 0 1539 $dirInfo->{'DirStart'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
136 0 1539 0 $dirInfo->{'DirLen'} || length($$dataPt) - $dirStart
139 0 0 1539 $et->Options('Unknown') || $et->Options('Verbose')
167 492 0 9007 $type == 2 or $unknown
179 1538 0 489 $tagInfo->{'IsProtobuf'} or $unknown
278 1538 1 0 $prefix or $dirInfo->{'Pos'} == $dirEnd