Branch Coverage

blib/lib/PDF/Builder/Resource/XObject/Image/GD.pm
Criterion Covered Total %
branch 0 16 0.0


line true false branch
46 0 0 if (defined $opts{'-name'} and not defined $opts{'name'})
47 0 0 if (defined $opts{'-compress'} and not defined $opts{'compress'})
48 0 0 if (defined $opts{'-lossless'} and not defined $opts{'lossless'})
51 0 0 if (exists $opts{'name'})
56 0 0 if ref $class
59 0 0 unless $self->is_obj($pdf)
81 0 0 if ($gd->can('jpeg') and $c > 256 and not $opts{'lossless'}) { }
0 0 elsif ($gd->can('raw')) { }