Branch Coverage

blib/lib/PDF/Builder/Resource.pm
Criterion Covered Total %
branch 4 6 66.6


line true false branch
33 0 83 if ref $class
37 83 0 unless $self->is_obj($pdf)
60 83 62 if (scalar @_ and defined $_[0])