Branch Coverage

blib/lib/POE/Component/FastCGI/Request.pm
Criterion Covered Total %
branch 15 26 57.6


line true false branch
16 1 1 defined $$cgi{'HTTP_HOST'} ? :
45 0 0 if (not exists $$self{'_res'})
53 2 0 unless (defined $response)
63 0 0 unless ($response->isa('POE::Component::FastCGI::Response'))
83 0 0 if (exists $$self{'env'}{$env})
92 2 1 unless (exists $$self{'_query'})
93 1 1 if ($self->method eq 'GET') { }
100 1 2 if (not defined $param) { }
1 1 elsif (exists $$self{'_query'}{$param}) { }
111 1 0 unless (exists $$self{'_cookie'})
112 0 1 unless defined $self->header('Cookie')
116 0 1 unless defined $name
118 1 0 if exists $$self{'_cookie'}{$name}