| test-data/lib/Local/ViaExporter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| statement | 9 | 10 | 90.0 | 
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 4 | 75.0 | 
| pod | 0 | 1 | 0.0 | 
| total | 12 | 15 | 80.0 | 
| line | stmt | bran | cond | sub | pod | time | code | 
|---|---|---|---|---|---|---|---|
| 1 | package Local::ViaExporter; | ||||||
| 2 | |||||||
| 3 | 3 | 3 | 21 | use strict; | |||
| 3 | 6 | ||||||
| 3 | 92 | ||||||
| 4 | 3 | 3 | 13 | use warnings; | |||
| 3 | 6 | ||||||
| 3 | 88 | ||||||
| 5 | |||||||
| 6 | 3 | 3 | 16 | use Exporter 'import'; | |||
| 3 | 6 | ||||||
| 3 | 363 | ||||||
| 7 | our @EXPORT = qw(foo $foo @foo %foo); | ||||||
| 8 | |||||||
| 9 | 0 | 0 | 0 | sub foo { return 'from sub foo' } | |||
| 10 | our $foo = 1; | ||||||
| 11 | our @foo = ( 1 .. 10 ); | ||||||
| 12 | our %foo = ( foo => 'bar' ); | ||||||
| 13 | |||||||
| 14 | 1; |