lib/Image/Info/JPEG.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 31 | 45.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
135 | 190 | 0 | 43 | $mark >= 224 and $mark <= 239 |
330 | 2 | 0 | 26 | $xres and $yres |
333 | 2 | 0 | 26 | $unit and $unit ne "pixels" |
line | l | !l | condition |
---|---|---|---|
147 | 0 | 28 | $info->get_info($img_no, 'width') || -1 |
148 | 0 | 28 | $info->get_info($img_no, 'height') || -1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
123 | 28 | 0 | 236 | $mark == 218 or $mark == 217 |
181 | 84 | 0 | 0 | $comp_id_lookup{$comp_id} || $comp_id |
229 | 0 | 0 | 17 | $x_density != $y_density || !$unit |
236 | 17 | 0 | 0 | {0, 'pixels', 1, 'dpi', 2, 'dpcm'}->{$unit} || "jfif-unit-$unit" |
241 | 0 | 0 | 17 | $x_thumb or $y_thumb |
256 | 0 | 0 | 0 | {16, 'JPEG thumbnail', 17, 'Bitmap thumbnail', 19, 'RGB thumbnail'}->{$code} || "Unknown extension code $code" |