blib/lib/POE/Filter/SpreadClient.pm

filter: Statementstmt 64.2% 9 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 2 totaltotal 59.0% 13 / 22 CC 1 SCAR 2.9
CC
1
Cov
64%
new
2.0
get
2.0
BEGIN
1.0
CRAP 1.3
« Build ↑ Summary blib/lib/POE/Driver/SpreadClient.pm »
1 #
2 # This file is part of POE-Component-SpreadClient
3 #
4 # This software is copyright (c) 2011 by Apocalypse.
5 #
6 # This is free software; you can redistribute it and/or modify it under
7 # the same terms as the Perl 5 programming language system itself.
8 #
9 1 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
10 package POE::Filter::SpreadClient;
11 BEGIN {
12 1 ▶ $POE::Filter::SpreadClient::VERSION = '1.002';
Subroutine BEGIN: called CC=1 SCAR=0.0
13 }
14 BEGIN {
15 1 ▶ $POE::Filter::SpreadClient::AUTHORITY = 'cpan:APOCAL';
Subroutine BEGIN: called CC=1 SCAR=0.0
16 }
17  
18 # ABSTRACT: Implements the Spread filter for POE
19  
20 sub new {
21 0 ▶ my $type = shift;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
22 0 my $self = bless \$type, $type;
23 0 return $self;
24 }
25  
26 sub get {
27 0 ▶ my $self = shift;
Subroutine get: not called CC=1 SCAR=6.9
Pod undocumented
28 0 return [ @_ ];
29 }
30  
31 1 1;
32  
33  
34 __END__
« Build ↑ Summary blib/lib/POE/Driver/SpreadClient.pm »