Branch Coverage

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


line true false branch
31 0 85 if ref $class
35 85 0 unless $self->is_obj($pdf)
64 85 64 if (scalar @_ and defined $_[0])