HTTPServer/Handler.pm

filter: Statementstmt 95.4% 21 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 50.0% 1 / 2 totaltotal 90.6% 29 / 32 CC 1 SCAR 1.2
CC
1
Cov
95%
handle
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« HTTPServer/NotFoundHandler.pm ↑ Summary
1 package POE::Component::Server::HTTPServer::Handler;
2 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 5 ▶use Carp;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 5 ▶use base 'Exporter';
Subroutine BEGIN: called CC=1 SCAR=0.0
5 5 our @EXPORT = qw( H_CONT H_FINAL );
6  
7 5 ▶use constant H_CONT => 0;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 5 ▶use constant H_FINAL => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
11 3 my $class = shift;
12 3 my $self = bless {}, $class;
13 3 $self->_init(@_);
14 3 return $self;
15 }
16  
17 1 ▶sub _init { }
Subroutine _init: called CC=1 SCAR=0.0
18  
19 0 ▶sub handle {
Subroutine handle: not called CC=1 SCAR=6.9
Pod documented
20 0 croak "Cannot call handle on unextended package ", __PACKAGE__, "\n";
21 }
22  
23 5 1;
24 __END__
« HTTPServer/NotFoundHandler.pm ↑ Summary