blib/lib/POSIX/AtFork.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 11 | 11 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package POSIX::AtFork; | ||||||
2 | 9 | 9 | 888469 | use 5.008001; | |||
9 | 50 | ||||||
3 | 9 | 9 | 37 | use strict; | |||
9 | 15 | ||||||
9 | 175 | ||||||
4 | 9 | 9 | 35 | use warnings; | |||
9 | 18 | ||||||
9 | 957 | ||||||
5 | |||||||
6 | our $VERSION = '0.04'; | ||||||
7 | |||||||
8 | require Exporter; | ||||||
9 | our @ISA = qw(Exporter); | ||||||
10 | |||||||
11 | our @EXPORT_OK = qw(pthread_atfork); | ||||||
12 | our %EXPORT_TAGS = (all => \@EXPORT_OK); | ||||||
13 | |||||||
14 | require XSLoader; | ||||||
15 | XSLoader::load('POSIX::AtFork', $VERSION); | ||||||
16 | |||||||
17 | |||||||
18 | 1; | ||||||
19 | __END__ |