Condition Coverage

blib/lib/Image/ExifTool/BPG.pm
Criterion Covered Total %
condition 11 23 47.8


and 3 conditions

line !l l&&!r l&&r condition
134 7 0 0 $i == 4 and $byte & 112
137 0 4 0 $i == 0 and $byte == 128
174 0 0 1 $raf->Seek($dataPos, 0) and $raf->Read($buff, 5) == 5
182 0 0 1 $raf->Seek($dataPos, 0) and $raf->Read($buff, $size) == $size
199 2 0 1 $type == 1 and $len > 3
2 0 1 $type == 1 and $len > 3 and substr($buff, $pos, 3) =~ /^.(II|MM)/s

or 2 conditions

line l !l condition
125 6 1 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
130 0 0 11 $pos + $i >= $size or $i >= 5