| test-data/lib/Local/Explodes.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 7 | 7 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 3 | 3 | 100.0 |
| pod | n/a | ||
| total | 10 | 10 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Local::Explodes; | ||||||
| 2 | |||||||
| 3 | 2 | 2 | 18 | use strict; | |||
| 2 | 4 | ||||||
| 2 | 62 | ||||||
| 4 | 2 | 2 | 19 | use warnings; | |||
| 2 | 4 | ||||||
| 2 | 62 | ||||||
| 5 | |||||||
| 6 | BEGIN { | ||||||
| 7 | 2 | 2 | 93 | die 'oof'; | |||
| 8 | } | ||||||
| 9 | |||||||
| 10 | require Exporter; | ||||||
| 11 | our @EXPORT = qw(foo); | ||||||
| 12 | |||||||
| 13 | sub foo { return 'from sub foo' } | ||||||
| 14 | |||||||
| 15 | 1; |