Branch Coverage

blib/lib/Module/Stubber.pm
Criterion Covered Total %
branch 14 22 63.6


line true false branch
31 0 2 if (_can_warn $fn)
36 2 0 unless (exists $Retvals{$fn})
37 1 1 if ref $arg
48 0 1 if _can_warn($cls . '::new')
54 13 0 if not ref $_
76 0 4 unless ($wanted_pkg)
85 2 2 if (eval { do { require $pkg_s } } and not $wanted_pkg->isa('Module::Stubber::Stub')) { }
88 1 1 unless $wanted_pkg->can('import')
96 0 2 if (ref $more_syms eq 'ARRAY') { }
101 10 0 if (ref $symspec eq 'CODE') { }
109 2 0 if ($options{'silent'})