blib/lib/Graphics/Primitive/Aligned.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 17 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Graphics/Primitive.pm ↑ Summary blib/lib/Graphics/Primitive/Operation.pm »
1 package Graphics::Primitive::Aligned;
2 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 1 ▶use Moose::Util::TypeConstraints;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 enum 'Graphics::Primitive::Alignment::Horizontals' => [qw(center left right)];
7 1 enum 'Graphics::Primitive::Alignment::Verticals' => [qw(bottom center top)];
8  
9 1 has 'horizontal_alignment' => (
10 is => 'rw',
11 isa => 'Graphics::Primitive::Alignment::Horizontals',
12 );
13 1 has 'vertical_alignment' => (
14 is => 'rw',
15 isa => 'Graphics::Primitive::Alignment::Verticals',
16 );
17  
18 1 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 1;
20 __END__
« blib/lib/Graphics/Primitive.pm ↑ Summary blib/lib/Graphics/Primitive/Operation.pm »