blib/lib/App/RecordStream/Clumper/CubeKeyPerfect.pm

filter: Statementstmt 95.8% 23 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 0.0% 0 / 3 totaltotal 85.7% 30 / 35 CC 1 SCAR 1.2
CC
1
Cov
96%
long_usage
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« blib/lib/App/RecordStream/Aggregator/Ord2Univariate.pm ↑ Summary blib/lib/App/RecordStream/Aggregator/Last.pm »
1 package App::RecordStream::Clumper::CubeKeyPerfect;
2  
3 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 6 ▶use App::RecordStream::Clumper::KeyPerfect;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 ▶use App::RecordStream::DomainLanguage::Registry;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 6 ▶use base 'App::RecordStream::Clumper::KeyPerfect';
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 sub long_usage
12 0 ▶{
Subroutine long_usage: not called CC=1 SCAR=6.9
Pod undocumented
13 0 return <<EOF;
14 Usage: cubekeyperfect,<keyspec>
15 Clump records by the value for a key and additionally produce an "ALL" slice.
16 EOF
17 }
18  
19 sub short_usage
20 2 ▶{
Subroutine short_usage: called CC=1 SCAR=0.0
Pod undocumented
21 2 return "clump records by the value for a key, additionally cubing them";
22 }
23  
24 sub get_values
25 30 ▶{
Subroutine get_values: called CC=1 SCAR=0.0
Pod undocumented
26 30 my $this = shift;
27 30 my $value = shift;
28  
29 30 return ($value, "ALL");
30 }
31  
32 6 App::RecordStream::Clumper->register_implementation('cubekeyperfect', __PACKAGE__);
33  
34 6 App::RecordStream::DomainLanguage::Registry::register_vfn(__PACKAGE__, 'new_from_valuation', 'cubekeyperfect', 'VALUATION');
35 6 App::RecordStream::DomainLanguage::Registry::register_vfn(__PACKAGE__, 'new_from_valuation', 'cubekey', 'VALUATION');
36  
37 6 1;
« blib/lib/App/RecordStream/Aggregator/Ord2Univariate.pm ↑ Summary blib/lib/App/RecordStream/Aggregator/Last.pm »