blib/lib/App/RecordStream/Aggregator/Internal/Constant.pm

filter: Statementstmt 59.0% 13 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 4 / 8 Podpod 0.0% 0 / 4 totaltotal 50.0% 17 / 34 CC 1 SCAR 4.1
CC
1
Cov
59%
new
2.0
initial
2.0
combine
2.0
CRAP 1.5
« blib/lib/App/RecordStream/Operation/multiplex.pm ↑ Summary blib/lib/App/RecordStream/Operation/tojsonarray.pm »
1 package App::RecordStream::Aggregator::Internal::Constant;
2  
3 29 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 29 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 29 ▶use App::RecordStream::Aggregator::Aggregation;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 29 ▶use base 'App::RecordStream::Aggregator::Aggregation';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub new
10 {
11 0 ▶ my $class = shift;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
12 0 my $value = shift;
13  
14 0 my $this =
15 {
16 'VALUE' => $value,
17 };
18  
19 0 bless $this, $class;
20  
21 0 return $this;
22 }
23  
24 sub initial
25 {
26 0 ▶ return undef;
Subroutine initial: not called CC=1 SCAR=6.9
Pod undocumented
27 }
28  
29 sub combine
30 {
31 0 ▶ return undef;
Subroutine combine: not called CC=1 SCAR=6.9
Pod undocumented
32 }
33  
34 sub squish
35 {
36 0 ▶ my $this = shift;
Subroutine squish: not called CC=1 SCAR=6.9
Pod undocumented
37  
38 0 return $this->{'VALUE'};
39 }
40  
41 29 1;
« blib/lib/App/RecordStream/Operation/multiplex.pm ↑ Summary blib/lib/App/RecordStream/Operation/tojsonarray.pm »