test-data/lib/Local/ViaSubExporter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 5 | 60.0 |
pod | 0 | 2 | 0.0 |
total | 12 | 16 | 75.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Local::ViaSubExporter; | ||||||
2 | |||||||
3 | 1 | 1 | 8 | use strict; | |||
1 | 2 | ||||||
1 | 30 | ||||||
4 | 1 | 1 | 5 | use warnings; | |||
1 | 2 | ||||||
1 | 38 | ||||||
5 | |||||||
6 | 1 | 11 | use Sub::Exporter -setup => { | ||||
7 | exports => [ | ||||||
8 | 'bar', | ||||||
9 | 'foo', | ||||||
10 | ] | ||||||
11 | 1 | 1 | 5 | }; | |||
1 | 2 | ||||||
12 | |||||||
13 | 0 | 0 | sub bar { } | ||||
14 | 0 | 0 | sub foo { } | ||||
15 | |||||||
16 | 1; |