lib/Draft/Protozoa/Eml/Line/Draft1.pm

filter: Statementstmt 100% 21 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 27 / 27 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/Draft/Entity/Line.pm ↑ Summary lib/Draft/Protozoa/Eml/Reference/Draft1.pm »
1 package Draft::Protozoa::Eml::Line::Draft1;
2  
3 =head1 NAME
4  
5 Draft::Protozoa::Eml::Line::Draft1 - CAD line drawing-object
6  
7 =head1 SYNOPSIS
8  
9 A line consists of two points.
10  
11 =cut
12  
13 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 1 ▶use Draft::Protozoa::Eml;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 1 ▶use Draft::Entity::Line;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 1 ▶use vars qw /@ISA/;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 1 @ISA = qw /Draft::Protozoa::Eml Draft::Entity::Line/;
20  
21 =pod
22  
23 =head1 DESCRIPTION
24  
25 Though a line consists of just two points, it should really be
26 extended to an arbitrary number of points - A polyline.
27  
28 =cut
29  
30 sub _parse
31 1 ▶{
Subroutine _parse: called CC=1 SCAR=0.0
32 1 my $self = shift;
33 1 my $data = shift;
34  
35 1 $self->{0} = $data->{0};
36 1 $self->{1} = $data->{1};
37 }
38  
39 1 1;
« lib/Draft/Entity/Line.pm ↑ Summary lib/Draft/Protozoa/Eml/Reference/Draft1.pm »