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 | 380 | use Evo '-Export *; ::Mock'; | |||
1 | 2 | ||||||
1 | 6 | ||||||
3 | |||||||
4 | export_proxy '::Mock', qw(get_original call_original); | ||||||
5 | |||||||
6 | 5 | 50 | 5 | 0 | 48 | sub mock ($name, @args) : Export { | |
5 | 9 | ||||||
5 | 16 | ||||||
5 | 9 | ||||||
7 | 5 | 21 | Evo::Test::Mock->create_mock($name, @args); | ||||
8 | 1 | 1 | 6 | } | |||
1 | 2 | ||||||
1 | 3 | ||||||
9 | |||||||
10 | |||||||
11 | 1; | ||||||
12 | |||||||
13 | __END__ |