blib/lib/Text/Trac/Macro/HelloWorld.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 11 | 12 | 91.6 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Text::Trac::Macro::HelloWorld; | ||||||
2 | |||||||
3 | 1 | 1 | 6 | use strict; | |||
1 | 3 | ||||||
1 | 29 | ||||||
4 | 1 | 1 | 4 | use warnings; | |||
1 | 2 | ||||||
1 | 85 | ||||||
5 | |||||||
6 | our $VERSION = '0.24'; | ||||||
7 | |||||||
8 | sub process { | ||||||
9 | 3 | 3 | 0 | 10 | my ( $class, $c, @args ) = @_; | ||
10 | 3 | 16 | return 'Hello World, args = ' . join ', ', @args; | ||||
11 | } | ||||||
12 | |||||||
13 | 1; |