blib/lib/Module/New/File/Module.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 12 | 12 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Module::New::File::Module; | ||||||
2 | |||||||
3 | 2 | 2 | 656 | use strict; | |||
2 | 3 | ||||||
2 | 60 | ||||||
4 | 2 | 2 | 8 | use warnings; | |||
2 | 3 | ||||||
2 | 47 | ||||||
5 | 2 | 2 | 7 | use Module::New::File; | |||
2 | 3 | ||||||
2 | 11 | ||||||
6 | |||||||
7 | file '{MAINFILE}' => content { return <<'EOT'; | ||||||
8 | package <%= $c->module %>; | ||||||
9 | |||||||
10 | use strict; | ||||||
11 | use warnings; | ||||||
12 | |||||||
13 | 1; | ||||||
14 | |||||||
15 | __END__ |