| blib/lib/SimpleMock/Util.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 12 | 91.6 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 1 | 15 | unless $INC{$file} |
| 25 | 1115 | 155 | if (my $code_ref = *{$ns . "::$sym";}{"CODE"}) |
| 27 | 385 | 730 | if defined prototype $code_ref |
| 37 | 1 | 108 | if @_ |
| 41 | 0 | 2 | unless $_[0] =~ /^Encountered CODE ref/ |
| 51 | 69 | 39 | defined $args ? : |