corpus/wasm__linker/lib/Foo/Bar/X3.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 10 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 14 | 15 | 93.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Foo::Bar::X3; | ||||||
2 | |||||||
3 | 1 | 1 | 7 | use strict; | |||
1 | 3 | ||||||
1 | 34 | ||||||
4 | 1 | 1 | 6 | use warnings; | |||
1 | 1 | ||||||
1 | 45 | ||||||
5 | use Wasm | ||||||
6 | 1 | 8 | -api => 0, | ||||
7 | 1 | 1 | 5 | -global => [ 'x3', 'i32', 'var', 42]; | |||
1 | 4 | ||||||
8 | |||||||
9 | sub hello | ||||||
10 | { | ||||||
11 | 1 | 1 | 0 | 42 | print "hello, world!\n"; | ||
12 | } | ||||||
13 | |||||||
14 | 1; |