blib/lib/Test/Module.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 1 | 1 | 100.0 |
total | 16 | 16 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 1 | 1 | 48730 | use warnings; | |||
1 | 8 | ||||||
1 | 24 | ||||||
2 | 1 | 1 | 4 | use strict; | |||
1 | 1 | ||||||
1 | 27 | ||||||
3 | package Test::Module 0.003; # TRIAL | ||||||
4 | |||||||
5 | # ABSTRACT: This is an example module | ||||||
6 | |||||||
7 | 1 | 1 | 3 | use Exporter 'import'; | |||
1 | 1 | ||||||
1 | 79 | ||||||
8 | our (@EXPORT_OK) = (); | ||||||
9 | our (@EXPORT) = (@EXPORT_OK); | ||||||
10 | |||||||
11 | |||||||
12 | |||||||
13 | sub new { | ||||||
14 | 1 | 1 | 1 | 58 | my $pkg = shift; | ||
15 | 1 | 4 | bless {}, $pkg; | ||||
16 | } | ||||||
17 | |||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |