Clicker/Renderer.pm

filter: Statementstmt 87.5% 14 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 84.2% 16 / 19 CC 1 SCAR 2.9
CC
1
Cov
88%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« Clicker/Renderer/Bubble.pm ↑ Summary Clicker/Drawing/ColorAllocator.pm »
1 package Chart::Clicker::Renderer;
2 16 $Chart::Clicker::Renderer::VERSION = '2.90';
3 16 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 16 extends 'Graphics::Primitive::Canvas';
6  
7 # ABSTRACT: Base class for renderers
8  
9  
10 16 has 'additive' => ( is => 'rw', isa => 'Bool', default => 0 );
11  
12 16 has 'clicker' => (
13 is => 'rw',
14 isa => 'Chart::Clicker',
15 weak_ref => 1
16 );
17  
18  
19 16 has 'context' => ( is => 'rw', isa => 'Str' );
20  
21 0 ▶override('prepare', sub {
Subroutine __ANON__: not called CC=1 SCAR=6.9
22 0 my ($self) = @_;
23  
24 0 return 1;
25 16 });
26  
27 16 __PACKAGE__->meta->make_immutable;
28  
29 16 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
30  
31 16 1;
32  
33 __END__
« Clicker/Renderer/Bubble.pm ↑ Summary Clicker/Drawing/ColorAllocator.pm »