Server/Request.pm

filter: Statementstmt 100% 14 / 14 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 2 SCAR 3.4
CC
2
Cov
100%
connection
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« Server/Error.pm ↑ Summary
1 # $Id: Request.pm 909 2012-07-13 15:38:39Z fil $
2 # Copyright 2010 Philip Gwyn
3  
4 package POEx::HTTP::Server::Request;
5  
6 16 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 16 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 16 ▶use base qw( HTTP::Request );
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12 sub connection
13 46 ▶{
Subroutine connection: called CC=2 SCAR=6.9
Pod documented
14 46 my( $self, $connection ) = @_;
15 46 my $rv = $self->{connection};
16 46 ▶ $self->{connection} = $connection if 2==@_;
Branch: 1 branch
BranchTrueFalseTotal
if 2 == @_ 18 28 46
17 46 return $rv;
18 }
19  
20 16 1;
21  
22 __END__
« Server/Error.pm ↑ Summary