Branch Coverage

lib/Test/Mockingbird/DeepMock.pm
Criterion Covered Total %
branch 38 46 82.6


line true false branch
430 0 13 unless ref $plan eq "HASH"
440 0 12 if ($wantarray) { }
0 12 elsif (defined $wantarray) { }
456 10 1 if $auto_restore
458 0 11 if $err
460 0 11 $wantarray ? :
498 1 21 unless my $target = $m->{'target'}
504 7 14 if ($type eq 'mock') { }
11 3 elsif ($type eq 'spy') { }
1 2 elsif ($type eq 'inject') { }
508 1 6 unless defined $m->{'with'} and ref $m->{'with'} eq "CODE"
514 2 4 if $m->{'tag'}
523 11 0 if $m->{'tag'}
532 0 1 if $m->{'tag'}
578 2 17 unless my $tag = $exp->{'tag'}
581 1 16 unless my $spy = $handles->{$tag}{'spy'}
588 7 9 if (defined $exp->{'calls'})
599 3 13 if (my $args_like = $exp->{'args_like'})
607 5 0 ref $re ? :
619 2 14 if (my $args_eq = $exp->{'args_eq'})
638 3 13 if (my $args_deeply = $exp->{'args_deeply'})
658 3 13 if ($exp->{'never'})
699 24 3 if (defined $arg1 and not defined $arg2 and $arg1 =~ /^(.*)::([^:]+)$/)