blib/lib/Gearman/Spawner/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 9 | 9 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 12 | 13 | 92.3 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Gearman::Spawner::Util; | ||||||
2 | |||||||
3 | 14 | 14 | 65 | use strict; | |||
14 | 51 | ||||||
14 | 531 | ||||||
4 | 14 | 14 | 92 | use warnings; | |||
14 | 26 | ||||||
14 | 1142 | ||||||
5 | |||||||
6 | sub method2function { | ||||||
7 | 41 | 41 | 0 | 77 | my $class = shift; | ||
8 | 41 | 71 | my $name = shift; | ||||
9 | 41 | 182 | return $class . '::' . $name; | ||||
10 | } | ||||||
11 | |||||||
12 | 1; |