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') { } |
87
|
0 |
1 |
if (eval 'require GD') { } |
|
0 |
1 |
elsif (eval 'require Image::Magick') { } |
|
0 |
1 |
elsif (eval 'require Imager') { } |
104
|
0 |
0 |
if ($self->{'module'} eq 'GD') { } |
|
0 |
0 |
elsif ($self->{'module'} eq 'ImageMagick') { } |
|
0 |
0 |
elsif ($self->{'module'} eq 'Imager') { } |
106
|
0 |
0 |
unless (defined $self->{'im'}) |
117
|
0 |
0 |
if ($ret == 0) |
128
|
0 |
0 |
unless (defined $self->{'im'}) |
154
|
0 |
0 |
if ($index < 0) |
222
|
0 |
0 |
unless $$self{$opt{'im'}}->write('data', \$data, 'type', 'png') |
303
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
317
|
0 |
0 |
if ($p > $m) { } |
326
|
0 |
0 |
if (wantarray) { } |
351
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
365
|
0 |
0 |
if ($i % $xs != $xs - 1) |
366
|
0 |
0 |
if ($pixels[$i] < $pixels[$i + 1]) { } |
376
|
0 |
0 |
if (wantarray) { } |
415
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
449
|
0 |
0 |
if ($dctY == 0 or $dctX == 0) |
463
|
0 |
0 |
$dct >= $average ? : |
467
|
0 |
0 |
if (wantarray) { } |
493
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
507
|
0 |
0 |
if ($seen{$p}) |
548
|
0 |
0 |
unless ($$self{$opt{'im'}}) |
555
|
0 |
0 |
if ($opt{'hash'} and $opt{'geometry'} ne '8x8') |
559
|
0 |
0 |
if (scalar @{$opt{'hash'};} != 64) |
567
|
0 |
0 |
if ($i % $xs == 0 and $i != 0) { } |
|
0 |
0 |
elsif ($i != 0) { } |
569
|
0 |
0 |
if ($opt{'hash'}) { } |
605
|
0 |
0 |
unless ($$self{$opt{'im'}}) |