blib/lib/Draft/Protozoa/Yml/Reference/Draft1.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 31 CC 1 SCAR 6.9
CC
1
Cov
0%
_parse
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Draft::Protozoa::Yml::Reference::Draft1;
2  
3 use strict;
4 use warnings;
5  
6 use Draft::Entity::Reference;
7 use Draft::Protozoa::Yml;
8  
9 use vars qw /@ISA/;
10 @ISA = qw /Draft::Entity::Reference Draft::Protozoa::Yml/;
11  
12 sub _parse
13 {
14 my $self = shift;
15 my $data = shift;
16  
17 # rules for mapping file data into memory structures
18  
19 $self->{0} = $data->{points}->[0];
20 $self->{location} = $data->{location};
21 $self->{ignore} = $data->{ignore} || [];
22 }
23  
24 # FIXME doesn't have Create(), Transform(), Rotate()
25  
26 1;
27