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