blib/lib/HTTP/Parser2/XS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTTP::Parser2::XS; | ||||||
2 | |||||||
3 | 6 | 6 | 145659 | use strict; | |||
6 | 16 | ||||||
6 | 221 | ||||||
4 | 6 | 6 | 30 | use warnings; | |||
6 | 12 | ||||||
6 | 598 | ||||||
5 | |||||||
6 | require Exporter; | ||||||
7 | our @ISA = qw(Exporter); | ||||||
8 | our @EXPORT = qw( | ||||||
9 | parse_http_request | ||||||
10 | parse_http_response | ||||||
11 | ); | ||||||
12 | |||||||
13 | our $VERSION = '0.01'; | ||||||
14 | |||||||
15 | require XSLoader; | ||||||
16 | XSLoader::load('HTTP::Parser2::XS', $VERSION); | ||||||
17 | |||||||
18 | |||||||
19 | 1; | ||||||
20 | __END__ |