Condition Coverage

blib/lib/Image/ExifTool/WPG.pm
Criterion Covered Total %
condition 10 24 41.6


and 3 conditions

line !l l&&!r l&&r condition
223 0 0 0 $precision == 0 and $len >= 21
0 0 0 $precision == 1 and $len >= 29
243 1 1 11 $lastType and $type
2 7 4 $lastType and $type and $type == $lastType

or 2 conditions

line l !l condition
196 0 0 $raf->Seek($offset - 16, 1) or return 1
235 0 1 $xres || 1200
236 0 1 $yres || 1200

or 3 conditions

line l !l&&r !l&&!r condition
145 1 0 0 $printConv->{$type} || sprintf('Unknown (0x%.2x)', $type)
190 0 0 1 $ver < 1 or $ver > 2