blib/lib/HTTP/Engine/Interface/CGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 7 | 8 | 87.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTTP::Engine::Interface::CGI; | ||||||
2 | use HTTP::Engine::Interface | ||||||
3 | 12 | 110 | builder => 'CGI', | ||||
4 | writer => { response_line => 0 }, | ||||||
5 | 12 | 12 | 58478 | ; | |||
12 | 35 | ||||||
6 | |||||||
7 | sub run { | ||||||
8 | 1 | 1 | 0 | 133 | my ($self) = @_; | ||
9 | 1 | 11 | $self->handle_request( | ||||
10 | _connection => { | ||||||
11 | env => \%ENV, | ||||||
12 | input_handle => \*STDIN, | ||||||
13 | output_handle => \*STDOUT, | ||||||
14 | }, | ||||||
15 | ); | ||||||
16 | } | ||||||
17 | |||||||
18 | __INTERFACE__ | ||||||
19 | |||||||
20 | __END__ |