Chart/GGPlot/Coord/Functions.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Chart/GGPlot/Class.pm ↑ Summary Chart/GGPlot/Facet/Functions.pm »
1 package Chart::GGPlot::Coord::Functions;
2  
3 # ABSTRACT: Functions of coordination systems
4  
5 3 ▶use Chart::GGPlot::Setup qw(:base :pdl);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 our $VERSION = '0.002003'; # VERSION
8  
9 3 ▶use Chart::GGPlot::Util qw(collect_functions_from_package);
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 3 ▶use parent qw(Exporter::Tiny);
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13 3 my @export_ggplot;
14  
15 3 our @sub_namespaces = qw(Cartesian Flip);
16  
17 3 for my $name (@sub_namespaces) {
18 6 my $package = "Chart::GGPlot::Coord::$name";
19 6 my @func_names = collect_functions_from_package($package);
20 6 push @export_ggplot, @func_names;
21 }
22  
23 3 our @EXPORT_OK = (
24 @export_ggplot,
25 );
26  
27 3 our %EXPORT_TAGS = (
28 all => \@EXPORT_OK,
29 ggplot => \@export_ggplot,
30 );
31  
32 3 1;
33  
34 __END__
« Chart/GGPlot/Class.pm ↑ Summary Chart/GGPlot/Facet/Functions.pm »