Filter/SpreadClient.pm

filter: Statementstmt 64.2% 9 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod 0.0% 0 / 2 totaltotal 55.0% 11 / 20 CC 1 SCAR 4.1
CC
1
Cov
64%
new
2.0
get
2.0
BEGIN
1.0
CRAP 1.5
↑ Summary Driver/SpreadClient.pm »
1 #
2 # This file is part of POE-Component-SpreadClient
3 #
4 # This software is copyright (c) 2014 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 1 $POE::Filter::SpreadClient::VERSION = '1.003';
12 1 our $AUTHORITY = 'cpan:APOCAL';
13  
14 # ABSTRACT: Implements the Spread filter for POE
15  
16 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
17 0 my $type = shift;
18 0 my $self = bless \$type, $type;
19 0 return $self;
20 }
21  
22 0 ▶sub get {
Subroutine get: not called CC=1 SCAR=6.9
Pod undocumented
23 0 my $self = shift;
24 0 return [ @_ ];
25 }
26  
27 1 1;
28  
29 __END__
↑ Summary Driver/SpreadClient.pm »