| 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 | 12 | use strict; | |||
| 2 | 4 | ||||||
| 2 | 58 | ||||||
| 4 | 2 | 2 | 11 | use warnings; | |||
| 2 | 5 | ||||||
| 2 | 59 | ||||||
| 5 | |||||||
| 6 | BEGIN { | ||||||
| 7 | 2 | 2 | 107 | die 'oof'; | |||
| 8 | } | ||||||
| 9 | |||||||
| 10 | require Exporter; | ||||||
| 11 | our @EXPORT = qw(foo); | ||||||
| 12 | |||||||
| 13 | sub foo { return 'from sub foo' } | ||||||
| 14 | |||||||
| 15 | 1; |