blib/lib/Evo/Test.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | 1 | 2 | 50.0 |
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 15 | 17 | 88.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Evo::Test; | ||||||
2 | 1 | 1 | 377 | use Evo '-Export *; ::Mock'; | |||
1 | 2 | ||||||
1 | 6 | ||||||
3 | |||||||
4 | export_proxy '::Mock', qw(get_original call_original); | ||||||
5 | |||||||
6 | 5 | 50 | 5 | 0 | 45 | sub mock ($name, @args) : Export { | |
5 | 10 | ||||||
5 | 16 | ||||||
5 | 7 | ||||||
7 | 5 | 20 | Evo::Test::Mock->create_mock($name, @args); | ||||
8 | 1 | 1 | 7 | } | |||
1 | 2 | ||||||
1 | 4 | ||||||
9 | |||||||
10 | |||||||
11 | 1; | ||||||
12 | |||||||
13 | __END__ |