| 1 | package Chart::GGPlot::Global; | ||||||||||||||
| 2 | |||||||||||||||
| 3 | # ABSTRACT: Various global variables and settings | ||||||||||||||
| 4 | |||||||||||||||
| 5 | 3 | ▶ | use Chart::GGPlot::Class; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 6 | 3 | ▶ | use namespace::autoclean; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 7 | 3 | ▶ | use MooseX::Singleton; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 8 | |||||||||||||||
| 9 | 3 | our $VERSION = '0.002003'; # VERSION | |||||||||||||
| 10 | |||||||||||||||
| 11 | 3 | ▶ | use Module::Load; | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 12 | 3 | ▶ | use Types::Standard qw(ConsumerOf InstanceOf); | ||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||
| 13 | |||||||||||||||
| 14 | |||||||||||||||
| 15 | 3 | has theme_current => ( | |||||||||||||
| 16 | is => 'rw', | ||||||||||||||
| 17 | isa => ConsumerOf ['Chart::GGPlot::Theme'], | ||||||||||||||
| 18 | lazy => 1, | ||||||||||||||
| 19 | builder => '_build_theme_current' | ||||||||||||||
| 20 | ); | ||||||||||||||
| 21 | |||||||||||||||
| 22 | 0 | ▶ | method _build_theme_current () { | ||||||||||||
|
Subroutine
_build_theme_current: not called CC=3 SCAR=24.8
Branch: 2 branches
| |||||||||||||||
| 23 | 0 | load Chart::GGPlot::Theme::Defaults, qw(theme_grey); | |||||||||||||
| 24 | 0 | return theme_grey(); | |||||||||||||
| 25 | 3 | } | |||||||||||||
| 26 | |||||||||||||||
| 27 | |||||||||||||||
| 28 | 3 | has element_tree => ( | |||||||||||||
| 29 | is => 'rw', | ||||||||||||||
| 30 | isa => ConsumerOf ['Chart::GGPlot::Theme::ElementTree'], | ||||||||||||||
| 31 | lazy => 1, | ||||||||||||||
| 32 | builder => '_build_element_tree', | ||||||||||||||
| 33 | ); | ||||||||||||||
| 34 | |||||||||||||||
| 35 | 1 | ▶ | method _build_element_tree () { | ||||||||||||
|
Subroutine
_build_element_tree: called CC=3 SCAR=11.2
Branch: 2 branches
| |||||||||||||||
| 36 | 1 | load Chart::GGPlot::Theme::ElementTree; | |||||||||||||
| 37 | 1 | return Chart::GGPlot::Theme::ElementTree->default_element_tree(); | |||||||||||||
| 38 | 3 | } | |||||||||||||
| 39 | |||||||||||||||
| 40 | 3 | 1; | |||||||||||||
| 41 | |||||||||||||||
| 42 | __END__ | ||||||||||||||