Clicker/Data/Marker.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 32 / 32 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Clicker/Container.pm ↑ Summary Clicker/Data/Series/HighLow.pm »
1 package Chart::Clicker::Data::Marker;
2 4 $Chart::Clicker::Data::Marker::VERSION = '2.90';
3 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # ABSTRACT: Highlight arbitrary value(s)
6  
7 4 ▶use Graphics::Color::RGB;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 ▶use Graphics::Primitive::Brush;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10  
11 has 'brush' => (
12 is => 'rw',
13 isa => 'Graphics::Primitive::Brush',
14 5 ▶ default => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
15 5 Graphics::Primitive::Brush->new(width => 1);
16 }
17 4 );
18  
19  
20 has 'color' => (
21 is => 'rw',
22 isa => 'Graphics::Color',
23 5 ▶ default => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
24 5 Graphics::Color::RGB->new(
25 red => 0, green => 0, blue => 0, alpha => 1
26 );
27 }
28 4 );
29  
30  
31 has 'inside_color' => (
32 is => 'rw',
33 isa => 'Graphics::Color',
34 5 ▶ default => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
35 5 Graphics::Color::RGB->new(
36 red => 0, green => 0, blue => 0, alpha => 1
37 );
38 }
39 4 );
40  
41  
42 4 has 'key' => ( is => 'rw', isa => 'Num' );
43  
44  
45 4 has 'key2' => ( is => 'rw', isa => 'Num' );
46  
47  
48 4 has 'value' => ( is => 'rw', isa => 'Num' );
49  
50  
51 4 has 'value2' => ( is => 'rw', isa => 'Num' );
52  
53 4 __PACKAGE__->meta->make_immutable;
54  
55 4 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
56  
57 4 1;
58  
59 __END__
« Clicker/Container.pm ↑ Summary Clicker/Data/Series/HighLow.pm »