| 1 | package GraphViz::Diagram::ClassDiagram::Method; | ||||||||||
| 2 | 1 | ▶ | use GraphViz::Diagram::ClassDiagram::ClassElement; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | |||||||||||
| 4 | 1 | our @ISA = qw(GraphViz::Diagram::ClassDiagram::ClassElement); | |||||||||
| 5 | 1 | our $VERSION = $GraphViz::Diagram::ClassDiagram::VERSION; | |||||||||
| 6 | |||||||||||
| 7 | 0 | ▶ | sub new { #_{ | ||||||||
|
Subroutine
new: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||
| 8 | 0 | my $class_myself = shift; | |||||||||
| 9 | 0 | my $class = shift; | |||||||||
| 10 | 0 | my $ident = shift; | |||||||||
| 11 | 0 | my $opts = shift; | |||||||||
| 12 | |||||||||||
| 13 | # my $self = {}; | ||||||||||
| 14 | |||||||||||
| 15 | 0 | ▶ | croak unless ref $class eq 'GraphViz::Class'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | $opts->{type} = delete $opts->{returns} if exists $opts->{returns}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 18 | # $class_myself->SUPER::new($self, $class, $ident, $opts); | ||||||||||
| 19 | |||||||||||
| 20 | 0 | my $self = $class_myself->SUPER::new($class, $ident, $opts); | |||||||||
| 21 | |||||||||||
| 22 | # bless $self, $class_myself; | ||||||||||
| 23 | |||||||||||
| 24 | 0 | return $self; | |||||||||
| 25 | |||||||||||
| 26 | } #_} | ||||||||||
| 27 | 0 | ▶ | sub ident_color { #_{ | ||||||||
|
Subroutine
ident_color: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 28 | 0 | return '#b08f25'; | |||||||||
| 29 | } #_} | ||||||||||
| 30 | |||||||||||
| 31 | 1 | 'tq84'; | |||||||||