Chart/GGPlot/Stat/Functions.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Chart/GGPlot/Role.pm ↑ Summary
1 package Chart::GGPlot::Stat::Functions;
2  
3 # ABSTRACT: Function interface for stats
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 Module::Load;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 7 ▶use Chart::GGPlot::Util qw(collect_functions_from_package);
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 7 ▶use parent qw(Exporter::Tiny);
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 7 my @export_ggplot;
16  
17 7 our @sub_namespaces = qw(
18 Bin Boxplot Count Identity
19 Smooth
20 );
21  
22 7 for my $name (@sub_namespaces) {
23 35 my $package = "Chart::GGPlot::Stat::$name";
24 35 my @func_names = collect_functions_from_package($package);
25 35 push @export_ggplot, @func_names;
26 }
27  
28 7 our @EXPORT_OK = @export_ggplot;
29 7 our %EXPORT_TAGS = (
30 all => \@EXPORT_OK,
31 ggplot => \@export_ggplot,
32 );
33  
34 7 1;
35  
36 __END__
« Chart/GGPlot/Role.pm ↑ Summary