Branch Coverage

blib/lib/Data/Package.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
210 0 20 ref $_[0] ? :
220 4 16 unless $want
225 21 7 if ('Class::Inspector'->loaded($p)) { }
229 6 1 if ($@)
233 14 8 if ($p->isa($want))
246 0 20 if (defined @{"${class}::PROVIDES";})
251 0 20 unless my $methods = 'Class::Inspector'->methods($class)
277 0 14 ref $_[0] ? :
284 1 13 unless my(@classes) = $class->provides(@_)