| 1 | package WWW::PIDS::RouteDestination; | ||||||||||
| 2 | |||||||||||
| 3 | 9 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 9 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 0 | ▶ | sub new { | ||||||||
|
Subroutine
new: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||
| 7 | 0 | my ( $class, %p ) = @_; | |||||||||
| 8 | 0 | my $self = bless {} , $class; | |||||||||
| 9 | |||||||||||
| 10 | 0 | for my $param ( qw(UpDestination DownDestination) ) { | |||||||||
| 11 | defined $p{ $param } | ||||||||||
| 12 | 0 | ▶ | ? $self->{ $param } = $p{ $param } | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | : die "Mandatory parameter $param not provided to constructor in " . __PACKAGE__ ; | ||||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 0 | return $self | |||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 0 | ▶ | sub UpDestination { return $_[0]->{ UpDestination } } | ||||||||
|
Subroutine
UpDestination: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 20 | |||||||||||
| 21 | 0 | ▶ | sub DownDestination { return $_[0]->{ DownDestination } } | ||||||||
|
Subroutine
DownDestination: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 22 | |||||||||||
| 23 | 9 | 1; | |||||||||
| 24 | |||||||||||
| 25 | __END__ | ||||||||||