Chart/GGPlot/Range/Functions.pm

filter: Statementstmt 100% 24 / 24 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 94.4% 34 / 36 CC 3 SCAR 4.2
CC
3
Cov
93%
continuous_range
2.0
discrete_range
2.0
BEGIN
1.0
CRAP 1.5
« PDL/Role/HasNames.pm ↑ Summary Chart/GGPlot/Types.pm »
1 package Chart::GGPlot::Range::Functions;
2  
3 # ABSTRACT: Function interface for range
4  
5 7 ▶use Chart::GGPlot::Setup;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 7 our $VERSION = '0.002003'; # VERSION
8  
9 7 ▶use Chart::GGPlot::Range::Continuous;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 7 ▶use Chart::GGPlot::Range::Discrete;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 7 ▶use parent qw(Exporter::Tiny);
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 7 our @EXPORT_OK = qw(
15 continuous_range discrete_range
16 );
17 7 our %EXPORT_TAGS = ( all => \@EXPORT_OK );
18  
19  
20 22 ▶fun continuous_range () {
Subroutine continuous_range: called CC=2 SCAR=7.1
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
@_ > 0 and Function::Parameters::_croak('Too many arguments for fun continuous_range (expected 0, got ' . @_ . ')') 0 22 22
21 22 return Chart::GGPlot::Range::Continuous->new();
22 7 }
23  
24  
25 6 ▶fun discrete_range () {
Subroutine discrete_range: called CC=2 SCAR=7.1
Pod documented
Branch: 1 branch
BranchTrueFalseTotal
@_ > 0 and Function::Parameters::_croak('Too many arguments for fun discrete_range (expected 0, got ' . @_ . ')') 0 6 6
26 6 return Chart::GGPlot::Range::Discrete->new();
27 7 }
28  
29 7 1;
30  
31 __END__
« PDL/Role/HasNames.pm ↑ Summary Chart/GGPlot/Types.pm »