| 1 | package Marathon::Remote; | ||||||||||
| 2 | |||||||||||
| 3 | 4 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 4 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 0 | ▶ | sub _bail { | ||||||||
|
Subroutine
_bail: not called CC=1 SCAR=6.9
| |||||||||||
| 7 | 0 | die "cannot manipulate unproperly initialised Marathon::Remote object (App or Group). Make sure to pass in an instance of Marathon when calling Marathon::App/Group->new(\$conf, \$parent)"; | |||||||||
| 8 | } | ||||||||||
| 9 | |||||||||||
| 10 | 10 | ▶ | sub id { | ||||||||
|
Subroutine
id: called CC=2 SCAR=7.6
Pod
undocumented
| |||||||||||
| 11 | 10 | my ($self, $val) = @_; | |||||||||
| 12 | 10 | ▶ | if ( $val ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 0 | $self->{data}->{id} = $val; | |||||||||
| 14 | } | ||||||||||
| 15 | 10 | return $self->{data}->{id}; | |||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | 0 | ▶ | sub version { | ||||||||
|
Subroutine
version: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 19 | 0 | my $self = shift; | |||||||||
| 20 | 0 | return $self->{data}->{version}; | |||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | 0 | ▶ | sub dependencies { | ||||||||
|
Subroutine
dependencies: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 24 | 0 | my ($self, $val) = @_; | |||||||||
| 25 | 0 | ▶ | if ( $val ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | 0 | $self->{data}->{dependencies} = $val; | |||||||||
| 27 | } | ||||||||||
| 28 | 0 | return $self->{data}->{dependencies}; | |||||||||
| 29 | } | ||||||||||
| 30 | |||||||||||
| 31 | |||||||||||
| 32 | 4 | 1; | |||||||||