Branch Coverage

blib/lib/Module/Spy.pm
Criterion Covered Total %
branch 14 18 77.7


line true false branch
16 6 14 if (&Scalar::Util::blessed($stuff)) { }
70 0 6 unless my $orig = $self->stuff->can($self->method)
101 0 18 unless $pack = $$pack{$part . '::'}
110 6 0 if (ref $self->stuff eq $self->{'anon_class'})
156 14 0 if (defined $orig) { }
189 2 17 if (my $fake = $CALL_FAKE{$code_addr})
193 2 15 if (exists $RETURNS{$code_addr})
194 1 1 if (@{$RETURNS{$code_addr};} == 1)
200 2 13 if ($CALL_THROUGH{$code_addr})