blib/lib/Class/Scaffold/YAML/Marshall/PID.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 16 | 17 | 94.1 |
branch | n/a | ||
condition | n/a | ||
subroutine | 6 | 7 | 85.7 |
pod | 1 | 1 | 100.0 |
total | 23 | 25 | 92.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | 2 | 2 | 33 | use 5.008; | |||
2 | 7 | ||||||
2 | 102 | ||||||
2 | 2 | 2 | 14 | use warnings; | |||
2 | 4 | ||||||
2 | 68 | ||||||
3 | 2 | 2 | 17 | use strict; | |||
2 | 5 | ||||||
2 | 113 | ||||||
4 | |||||||
5 | package Class::Scaffold::YAML::Marshall::PID; | ||||||
6 | BEGIN { | ||||||
7 | 2 | 2 | 40 | $Class::Scaffold::YAML::Marshall::PID::VERSION = '1.102280'; | |||
8 | } | ||||||
9 | # ABSTRACT: Marshalling plugin to get the current process id | ||||||
10 | 2 | 2 | 10 | use YAML::Marshall 'pid'; | |||
2 | 4 | ||||||
2 | 17 | ||||||
11 | 2 | 2 | 97 | use parent 'Class::Scaffold::YAML::Marshall'; | |||
2 | 4 | ||||||
2 | 10 | ||||||
12 | 0 | 0 | 1 | sub yaml_load { $$ } | |||
13 | 1; | ||||||
14 | |||||||
15 | |||||||
16 | __END__ |