| 1 | package CGI::Application::FastCGI; | ||||||||||
| 2 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 1 | ▶ | use base qw (CGI::Application); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use FCGI; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 1 | ▶ | use CGI; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 1 | our $VERSION = '0.02'; | |||||||||
| 8 | |||||||||||
| 9 | 0 | ▶ | sub run { | ||||||||
|
Subroutine
run: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||
| 10 | 0 | my $self = shift; | |||||||||
| 11 | 0 | my $request = FCGI::Request(); | |||||||||
| 12 | 0 | $self->fastcgi($request); | |||||||||
| 13 | 0 | ▶ | while ($request->Accept >= 0) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 14 | 0 | $self->reset_query; | |||||||||
| 15 | 0 | $self->SUPER::run; | |||||||||
| 16 | } | ||||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 0 | ▶ | sub reset_query { | ||||||||
|
Subroutine
reset_query: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 20 | 0 | my $self = shift; | |||||||||
| 21 | 0 | CGI::_reset_globals(); | |||||||||
| 22 | 0 | $self->{__QUERY_OBJ} = $self->cgiapp_get_query; | |||||||||
| 23 | } | ||||||||||
| 24 | |||||||||||
| 25 | 0 | ▶ | sub fastcgi { | ||||||||
|
Subroutine
fastcgi: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 26 | 0 | my $self = shift; | |||||||||
| 27 | 0 | ▶ | @_ ? $self->{__FASTCGI} = shift : $self->{__FASTCGI}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 28 | } | ||||||||||
| 29 | |||||||||||
| 30 | 1 | 1; | |||||||||
| 31 | |||||||||||
| 32 | __END__ | ||||||||||