Chart/Fill/Solid.pm

filter: Statementstmt 90.9% 20 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 86.2% 25 / 29 CC 1 SCAR 1.5
CC
1
Cov
91%
parameter_value
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Chart/Color.pm ↑ Summary Chart.pm »
1 # $Id$
2  
3 package Google::Chart::Fill::Solid;
4 1 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Google::Chart::Types;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 with 'Google::Chart::Fill';
9  
10 1 has 'color' => (
11 is => 'rw',
12 isa => 'Google::Chart::Color::Data',
13 required => 1,
14 );
15  
16 1 has 'target' => (
17 is => 'rw',
18 isa => enum([ qw(bg c a) ]),
19 required => 1
20 );
21  
22 1 __PACKAGE__->meta->make_immutable;
23  
24 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
25 1 ▶no Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 0 ▶sub parameter_value {
Subroutine parameter_value: not called CC=1 SCAR=6.9
Pod undocumented
28 0 my $self = shift;
29 0 return join(',', $self->target, 's', $self->color)
30 }
31  
32 1 1;
33  
34 __END__
« Chart/Color.pm ↑ Summary Chart.pm »