/tmp/par-726f6f74/cache-b0c72bab4ae41bceab34bd2189c8337a4cc315c6/inc/lib/D.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 3 | 3 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 0 | 2 | 0.0 |
total | 5 | 7 | 71.4 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package D; | ||||||
2 | our $VERSION = 0.1; | ||||||
3 | sub new { | ||||||
4 | 1 | 1 | 0 | 3 | my $class = shift; | ||
5 | 1 | 4 | bless {}, $class; | ||||
6 | } | ||||||
7 | |||||||
8 | sub print_d { | ||||||
9 | 1 | 1 | 0 | 18 | print "Hello from D\n"; | ||
10 | } | ||||||
11 | |||||||
12 | 1; | ||||||
13 |