blib/lib/Test/Effects/TIME.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 10 | 10 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | n/a | ||
total | 15 | 15 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test::Effects::TIME; | ||||||
2 | |||||||
3 | 1 | 1 | 1577 | no if $] >= 5.018, 'warnings', "experimental"; | |||
1 | 15 | ||||||
1 | 6 | ||||||
4 | 1 | 1 | 87 | use 5.014; | |||
1 | 4 | ||||||
5 | 1 | 1 | 6 | use warnings; | |||
1 | 1 | ||||||
1 | 85 | ||||||
6 | |||||||
7 | our $VERSION = '0.000001'; | ||||||
8 | |||||||
9 | 1 | 1 | 175 | sub import { $^H{'Test::Effects::TIME'} = 1; } | |||
10 | 1 | 1 | 1673 | sub unimport { $^H{'Test::Effects::TIME'} = 0; } | |||
11 | |||||||
12 | |||||||
13 | 1; # Magic true value required at end of module | ||||||
14 | __END__ |