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 | 25 | use strict; | |||
1 | 2 | ||||||
1 | 33 | ||||||
4 | 1 | 1 | 6 | use warnings; | |||
1 | 2 | ||||||
1 | 92 | ||||||
5 | |||||||
6 | our $VERSION = '0.22'; | ||||||
7 | |||||||
8 | sub process { | ||||||
9 | 3 | 3 | 0 | 13 | my ( $class, $c, @args ) = @_; | ||
10 | 3 | 17 | return 'Hello World, args = ' . join ', ', @args; | ||||
11 | } | ||||||
12 | |||||||
13 | 1; |