| 1 | package Chart::GGPlot::Geom::Blank; | ||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||
| 3 | # ABSTRACT: Class for blank geom | ||||||||||||||||||||||||||||
| 4 | |||||||||||||||||||||||||||||
| 5 | 6 | ▶ | use Chart::GGPlot::Class; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 6 | 6 | ▶ | use namespace::autoclean; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 7 | 6 | ▶ | use MooseX::Singleton; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 8 | |||||||||||||||||||||||||||||
| 9 | 6 | our $VERSION = '0.002003'; # VERSION | |||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||
| 11 | 6 | with qw(Chart::GGPlot::Geom); | |||||||||||||||||||||||||||
| 12 | |||||||||||||||||||||||||||||
| 13 | 6 | ▶ | use Chart::GGPlot::Layer; | ||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||
| 14 | |||||||||||||||||||||||||||||
| 15 | 6 | my $geom_blank_pod = ''; | |||||||||||||||||||||||||||
| 16 | 0 | ▶ | my $geom_blank_code = fun ( | ||||||||||||||||||||||||||
|
Subroutine
__ANON__: not called CC=6 SCAR=37.4
Branch: 1 branch
Condition0%0/3
@_ > 0 and @_ % 2
MC/DC0%0/2
@_ > 0 and @_ % 2
@_ > 0
@_ % 2
Truth table0%0/3
A and B
A= @_ > 0B= @_ % 2
| |||||||||||||||||||||||||||||
| 17 | :$mapping = undef, :$data = undef, | ||||||||||||||||||||||||||||
| 18 | :$stat = "identity", :$position = "identity", | ||||||||||||||||||||||||||||
| 19 | :$show_legend = undef, :$inherit_aes = true, | ||||||||||||||||||||||||||||
| 20 | %rest ) | ||||||||||||||||||||||||||||
| 21 | 0 | ▶ | { | ||||||||||||||||||||||||||
|
Branch: 3 branches
| |||||||||||||||||||||||||||||
| 22 | 0 | return Chart::GGPlot::Layer->new( | |||||||||||||||||||||||||||
| 23 | data => $data, | ||||||||||||||||||||||||||||
| 24 | mapping => $mapping, | ||||||||||||||||||||||||||||
| 25 | stat => $stat, | ||||||||||||||||||||||||||||
| 26 | position => $position, | ||||||||||||||||||||||||||||
| 27 | show_legend => $show_legend, | ||||||||||||||||||||||||||||
| 28 | inherit_aes => $inherit_aes, | ||||||||||||||||||||||||||||
| 29 | check_aes => false, | ||||||||||||||||||||||||||||
| 30 | geom => 'blank', | ||||||||||||||||||||||||||||
| 31 | params => \%rest, | ||||||||||||||||||||||||||||
| 32 | ); | ||||||||||||||||||||||||||||
| 33 | 6 | }; | |||||||||||||||||||||||||||
| 34 | |||||||||||||||||||||||||||||
| 35 | 5 | ▶ | classmethod ggplot_functions() { | ||||||||||||||||||||||||||
|
Subroutine
ggplot_functions: called CC=3 SCAR=11.3
Pod
undocumented
Branch: 2 branches
| |||||||||||||||||||||||||||||
| 36 | return [ | ||||||||||||||||||||||||||||
| 37 | { | ||||||||||||||||||||||||||||
| 38 | 5 | name => 'geom_blank', | |||||||||||||||||||||||||||
| 39 | code => $geom_blank_code, | ||||||||||||||||||||||||||||
| 40 | pod => $geom_blank_pod, | ||||||||||||||||||||||||||||
| 41 | } | ||||||||||||||||||||||||||||
| 42 | ]; | ||||||||||||||||||||||||||||
| 43 | 6 | } | |||||||||||||||||||||||||||
| 44 | |||||||||||||||||||||||||||||
| 45 | 0 | ▶ | method handle_na ( $data, $params ) { $data; } | ||||||||||||||||||||||||||
|
Subroutine
handle_na: not called CC=3 SCAR=22.8
Pod
undocumented
Branch: 2 branches
| |||||||||||||||||||||||||||||
| 46 | |||||||||||||||||||||||||||||
| 47 | 6 | __PACKAGE__->meta->make_immutable(); | |||||||||||||||||||||||||||
| 48 | |||||||||||||||||||||||||||||
| 49 | 6 | 1; | |||||||||||||||||||||||||||
| 50 | |||||||||||||||||||||||||||||
| 51 | __END__ | ||||||||||||||||||||||||||||