| line |
true |
false |
branch |
|
69
|
0 |
1 |
if ($$self{'module'}) { } |
|
71
|
0 |
0 |
if ($$self{'module'} eq 'GD') { } |
|
|
0 |
0 |
elsif ($$self{'module'} eq 'ImageMagick' or $$self{'module'} eq 'Image::Magick') { } |
|
|
0 |
0 |
elsif ($$self{'module'} eq 'Imager') { } |
|
86
|
0 |
1 |
if (eval 'require GD') { } |
|
|
0 |
1 |
elsif (eval 'require Image::Magick') { } |
|
|
0 |
1 |
elsif (eval 'require Imager') { } |
|
103
|
0 |
0 |
if ($$self{'module'} eq 'GD') { } |
|
|
0 |
0 |
elsif ($$self{'module'} eq 'ImageMagick') { } |
|
|
0 |
0 |
elsif ($$self{'module'} eq 'Imager') { } |
|
105
|
0 |
0 |
unless (defined $$self{'im'}) |
|
116
|
0 |
0 |
if ($ret == 0) |
|
127
|
0 |
0 |
unless (defined $$self{'im'}) |
|
153
|
0 |
0 |
if ($index < 0) |
|
221
|
0 |
0 |
unless $$self{$opt{'im'}}->write('data', \$data, 'type', 'png') |
|
302
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
|
316
|
0 |
0 |
if ($p > $m) { } |
|
325
|
0 |
0 |
if (wantarray) { } |
|
350
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
|
364
|
0 |
0 |
if ($i % $xs != $xs - 1) |
|
365
|
0 |
0 |
if ($pixels[$i] < $pixels[$i + 1]) { } |
|
375
|
0 |
0 |
if (wantarray) { } |
|
414
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
|
448
|
0 |
0 |
if ($dctY == 0 or $dctX == 0) |
|
462
|
0 |
0 |
$dct >= $average ? : |
|
466
|
0 |
0 |
if (wantarray) { } |
|
506
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
|
513
|
0 |
0 |
if ($opt{'hash'} and $opt{'geometry'} ne '8x8') |
|
517
|
0 |
0 |
if (scalar @{$opt{'hash'};} != 64) |
|
525
|
0 |
0 |
if ($i % $xs == 0 and $i != 0) { } |
|
|
0 |
0 |
elsif ($i != 0) { } |
|
527
|
0 |
0 |
if ($opt{'hash'}) { } |
|
563
|
0 |
0 |
unless ($$self{$opt{'im'}}) |