blib/lib/My/Test.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 10 | 90.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 4 | 75.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 15 | 80.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package My::Test; | ||||||
2 | |||||||
3 | 1 | 1 | 22048 | use 5.014002; | |||
1 | 3 | ||||||
1 | 30 | ||||||
4 | 1 | 1 | 4 | use strict; | |||
1 | 1 | ||||||
1 | 35 | ||||||
5 | 1 | 1 | 3 | use warnings; | |||
1 | 5 | ||||||
1 | 66 | ||||||
6 | |||||||
7 | |||||||
8 | our $VERSION = '0.01'; | ||||||
9 | |||||||
10 | sub add { | ||||||
11 | 0 | 0 | 0 | return $_[0] + $_[1]; | |||
12 | } | ||||||
13 | 1; |