| 1 | package WWW::PIDS::CoreDataChanges; | ||||||||||
| 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 | 9 | our @ATTR = qw(RouteChanges ServerTime StopChanges); | |||||||||
| 7 | |||||||||||
| 8 | 0 | ▶ | sub new { | ||||||||
|
Subroutine
new: not called CC=3 SCAR=24.8
Pod
undocumented
| |||||||||||
| 9 | 0 | my ( $class, %obj ) = @_; | |||||||||
| 10 | 0 | my $self = bless {}, $class; | |||||||||
| 11 | |||||||||||
| 12 | 0 | for my $a ( @ATTR ) { | |||||||||
| 13 | defined $obj{ $a } | ||||||||||
| 14 | 0 | ▶ | ? $self->{ $a } = $obj{ $a } | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | : die "Mandatory parameter $a not supplied to constructor" | ||||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | 0 | return $self | |||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | 0 | ▶ | sub RouteChanges { return @{ shift->{RouteChanges} } } | ||||||||
|
Subroutine
RouteChanges: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 22 | |||||||||||
| 23 | 0 | ▶ | sub StopChanges { return @{ shift->{StopChanges} } } | ||||||||
|
Subroutine
StopChanges: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 24 | |||||||||||
| 25 | 0 | ▶ | sub ServerTime { return shift->{ServerTime} } | ||||||||
|
Subroutine
ServerTime: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||
| 26 | |||||||||||
| 27 | 9 | 1; | |||||||||
| 28 | |||||||||||
| 29 | __END__ | ||||||||||