Edge/SplineEdge.pm

filter: Statementstmt 66.6% 10 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 100% 1 / 1 totaltotal 66.6% 14 / 21 SCAR 0.4
CC
1
Cov
67%
new
2.0
_addTypeNode
2.0
BEGIN
1.0
CRAP 1.0
« Edge/BezierEdge.pm ↑ Summary Document.pm »
1 package yEd::Edge::SplineEdge;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use yEd::PropertyBasedObject;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use base qw(yEd::Edge);
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 =head1 NAME
8  
9 yEd::Edge::SplineEdge - curving Edge that always has its waypoints on its line
10  
11 =head1 DESCRIPTION
12  
13 A curving Edge that always has its waypoints on its line (in contrast to e.g. QuadCurveEdge).
14  
15 Can have multiple waypoints.
16  
17 Make sure to have a look at L<yEd::Edge>, the properties and functions described there will not be repeated here.
18  
19 =head1 SUPPORTED FEATURES
20  
21 The type specific features are fully supported.
22  
23 For basic Edge type feature support and which Edge types are supported see L<yEd::Edge>.
24  
25 =head1 PROPERTIES
26  
27 =head2 all properties from base class
28  
29 L<yEd::Edge>
30  
31 =head1 SUBROUTINES/METHODS
32  
33 =head2 all functions from base class
34  
35 L<yEd::Edge>
36  
37 =cut
38  
39  
40 sub new {
41 0 ▶ my ($class, @args) = @_;
Subroutine new: not called CC=1 SCAR=6.9
Pod documented
42 0 my $self = bless {}, $class;
43 0 return $self->_init(@args);
44 }
45  
46 sub _addTypeNode {
47 0 ▶ my ($self, $node) = @_;
Subroutine _addTypeNode: not called CC=1 SCAR=6.9
48 0 return $node->addNewChild('', 'y:SplineEdge');
49 }
50  
51 =head1 SEE ALSO
52  
53 L<yEd::Document> for further informations about the whole package
54  
55 L<yEd::PropertyBasedObject> for further basic information about properties and their additional functions
56  
57 L<yEd::Edge> for information about the Edge base class and which other Edge types are currently supported
58  
59 =cut
60  
61 1 1;
« Edge/BezierEdge.pm ↑ Summary Document.pm »