| blib/lib/Evo/Test/Mock.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 22 | 30 | 73.3 |
| line | true | false | branch |
|---|---|---|---|
| 14 | 0 | 6 | unless @_ <= 0 |
| 15 | 0 | 6 | unless $ORIGINAL |
| 20 | 0 | 12 | unless @_ >= 2 |
| 22 | 10 | 2 | @args == 1 ? : |
| 26 | 1 | 11 | unless my $orig = *{$name;}{'CODE'} |
| 27 | 1 | 10 | if $REG{$orig} |
| 29 | 3 | 2 | $patch ? : |
| 5 | 5 | ref $patch eq 'CODE' ? : | |
| 38 | 1 | 9 | if not $rfn and $rethrow |
| 39 | 2 | 7 | unless $rfn |
| 51 | 0 | 7 | unless @_ <= 2 |
| 0 | 7 | unless @_ >= 2 | |
| 52 | 0 | 7 | unless exists $self->calls->[$n] |
| 56 | 0 | 10 | unless @_ <= 1 |
| 0 | 10 | unless @_ >= 1 |