/tmp/CwvM16bf0G | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 6 | 50.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 1 | 3 | 33.3 |
pod | n/a | ||
total | 4 | 9 | 44.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package MyTest2; | ||||||
2 | 2 | 2 | 4096982 | use Mite::Shim -all; | |||
2 | 12 | ||||||
2 | 71 | ||||||
3 | |||||||
4 | signature_for foo => ( | ||||||
5 | named => [ xxx => "Int", yyy => "Bool" ], | ||||||
6 | ); | ||||||
7 | |||||||
8 | sub foo { | ||||||
9 | 0 | 0 | my ( $self, $arg ) = @_; | ||||
10 | 0 | return [ $arg->xxx, $arg->yyy ]; | |||||
11 | } | ||||||
12 | |||||||
13 | signature_for bar => ( | ||||||
14 | named => [ xxx => "Num", yyy => "Object" ], | ||||||
15 | ); | ||||||
16 | |||||||
17 | sub bar { | ||||||
18 | 0 | 0 | die(); | ||||
19 | } | ||||||
20 | 1; |