Chart/GGPlot/Position/Identity.pm

filter: Statementstmt 100% 17 / 17 Branchbran 50.0% 2 / 4 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 88.0% 22 / 25 CC 3 SCAR 8.1
CC
3
Cov
90%
compute_layer
3.1
BEGIN
1.0
BEGIN
1.0
CRAP 2.2
« Chart/GGPlot/Labels/Functions.pm ↑ Summary Chart/GGPlot/Util/Pod.pm »
1 package Chart::GGPlot::Position::Identity;
2  
3 # ABSTRACT: Position class that does not adjust position
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  
8 6 our $VERSION = '0.002003'; # VERSION
9  
10 6 with qw(Chart::GGPlot::Position);
11  
12 4 ▶method compute_layer($data, $params, $scales) {
Subroutine compute_layer: called CC=3 SCAR=11.2
Pod undocumented
Branch: 2 branches
BranchTrueFalseTotal
@_ < 4 and Function::Parameters::_croak('Too few arguments for method compute_layer (expected 4, got ' . @_ . ')') 0 4 4
@_ > 4 and Function::Parameters::_croak('Too many arguments for method compute_layer (expected 4, got ' . @_ . ')') 0 4 4
13 4 return $data;
14 6 }
15  
16 6 __PACKAGE__->meta->make_immutable;
17  
18 6 1;
19  
20 __END__
« Chart/GGPlot/Labels/Functions.pm ↑ Summary Chart/GGPlot/Util/Pod.pm »