| line |
true |
false |
branch |
|
58
|
3 |
10250 |
if ($byte_offset == 255) |
|
60
|
0 |
3 |
unless length $gif->{'buffer'} == 255 |
|
74
|
101 |
1 |
if ($gif->{'offset'} % 8) |
|
77
|
102 |
0 |
if ($byte_offset) |
|
92
|
0 |
102 |
$frameindex == 0 ? : |
|
112
|
221356 |
11626 |
if ($child) { } |
|
116
|
11626 |
0 |
if ($nkeys < 4096) { } |
|
117
|
263 |
11363 |
if ($nkeys == 1 << $key_size) |
|
144
|
163092 |
831004 |
if (vec($gif->{'frame'}, $k, 8) != vec($gif->{'back'}, $k, 8)) |
|
145
|
109 |
162983 |
if ($j < $left) |
|
148
|
2152 |
160940 |
if ($j > $right) |
|
151
|
100 |
162992 |
if ($i < $top) |
|
154
|
4107 |
158985 |
if ($i > $bottom) |
|
160
|
100 |
0 |
if ($left != $gif->{'w'} and $top != $gif->{'h'}) { } |
|
180
|
102 |
0 |
if ($gif->{'transparent_index'} != -1) |
|
187
|
102 |
0 |
if ($gif->{'transparent_index'} != -1) |
|
214
|
2 |
0 |
if ($filename) { } |
|
215
|
0 |
2 |
unless open $gif->{'fh'}, ">", $filename |
|
227
|
2 |
0 |
if ($palette) |
|
228
|
0 |
2 |
if ($depth < 0) { } |
|
235
|
0 |
2 |
if ($depth < 0) |
|
238
|
1 |
1 |
$depth > 1 ? : |
|
240
|
2 |
0 |
if ($custom_gct) { } |
|
248
|
2 |
0 |
if ($loop >= 0 and $loop <= 65535) |
|
263
|
100 |
2 |
if ($has_new_frame) |
|
270
|
650 |
993446 |
if (vec($gif->{'frame'}, $i * $gif->{'w'} + $j, 8) == $gif->{'transparent_index'} and vec($gif->{'back'}, $i * $gif->{'w'} + $j, 8) != $gif->{'transparent_index'}) |
|
274
|
0 |
650 |
if ($i < $y) |
|
281
|
0 |
650 |
if ($j < $x) |
|
288
|
0 |
650 |
if ($i >= $y + $gif->{'h'}) |
|
293
|
0 |
650 |
if ($j >= $x + $gif->{'w'}) |
|
305
|
51 |
51 |
if ($dm == 8) |
|
322
|
100 |
2 |
if ($gif->{'has_unencoded_frame'}) |
|
328
|
2 |
100 |
if ($gif->{'nframes'} == 0) { } |
|
|
0 |
100 |
elsif (not get_bbox($gif, \$w, \$h, \$x, \$y)) { } |
|
339
|
0 |
102 |
if ($gif->{'transparent_index'} == -1) { } |
|
340
|
0 |
0 |
if ($delay) |
|
364
|
2 |
0 |
if ($gif->{'has_unencoded_frame'}) |
|
377
|
0 |
0 |
unless length($data) % $srcbitsperpixel == 0 |
|
419
|
0 |
2 |
unless $times == int $times and $times != 0 |
|
421
|
2 |
0 |
if ($times > 0) { } |
|
430
|
0 |
0 |
unless $neww == int $neww and $newh == int $newh |