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/Test/DistinctCountHelper.pm ↑ Summary blib/lib/App/RecordStream/Operation/tojsonarray.pm »
1 package App::RecordStream::Aggregator::Internal::Constant;
2  
3 30 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 30 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 30 ▶use App::RecordStream::Aggregator::Aggregation;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 30 ▶use base 'App::RecordStream::Aggregator::Aggregation';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 sub new
10 0 ▶{
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
11 0 my $class = shift;
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 0 ▶{
Subroutine initial: not called CC=1 SCAR=6.9
Pod undocumented
26 0 return undef;
27 }
28  
29 sub combine
30 0 ▶{
Subroutine combine: not called CC=1 SCAR=6.9
Pod undocumented
31 0 return undef;
32 }
33  
34 sub squish
35 0 ▶{
Subroutine squish: not called CC=1 SCAR=6.9
Pod undocumented
36 0 my $this = shift;
37  
38 0 return $this->{'VALUE'};
39 }
40  
41 30 1;
« blib/lib/App/RecordStream/Test/DistinctCountHelper.pm ↑ Summary blib/lib/App/RecordStream/Operation/tojsonarray.pm »