Chart/GGPlot/HasDefaultAes.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 25 / 25 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Chart/GGPlot/HasCollectibleFunctions.pm ↑ Summary Chart/GGPlot/HasNonMissingAes.pm »
1 package Chart::GGPlot::HasDefaultAes;
2  
3 # ABSTRACT: The role for the 'default_aes' attr
4  
5 7 ▶use Chart::GGPlot::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 7 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 7 our $VERSION = '0.002003'; # VERSION
9  
10 7 ▶use Types::Standard qw(InstanceOf);
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 7 ▶use Chart::GGPlot::Aes;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 7 ▶use Chart::GGPlot::Types qw(AesMapping);
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 has default_aes => (
16 is => 'ro',
17 isa => AesMapping,
18 3 ▶ default => sub { Chart::GGPlot::Aes->new() },
Subroutine __ANON__: called CC=1 SCAR=0.0
19 7 );
20  
21 7 1;
22  
23 __END__
« Chart/GGPlot/HasCollectibleFunctions.pm ↑ Summary Chart/GGPlot/HasNonMissingAes.pm »