line |
true |
false |
branch |
49
|
0 |
0 |
if @_ > 0
|
51
|
0 |
0 |
unless ($self->config->{'auth'}{'client_id'})
|
55
|
0 |
0 |
unless ($self->config->{'auth'}{'client_secret'})
|
78
|
0 |
0 |
if @_ > 0
|
80
|
0 |
0 |
if (-e $$self{'config_file'}) { }
|
82
|
0 |
0 |
unless ($$config{'auth'}{'client_id'} and $$config{'auth'}{'client_secret'})
|
107
|
0 |
0 |
if @_ > 0
|
109
|
0 |
0 |
unless $self->config->{'auth'}{'token_string'}
|
121
|
0 |
0 |
unless @_ > 0
|
|
0 |
0 |
if @_ > 1
|
124
|
0 |
0 |
unless (valid_json($json))
|
127
|
0 |
0 |
if ($ENV{'STRAVA_DEBUG'})
|
134
|
0 |
0 |
unless @_ > 0
|
|
0 |
0 |
if @_ > 1
|
136
|
0 |
0 |
if ($ENV{'STRAVA_DEBUG'})
|
139
|
0 |
0 |
$response->code == 204 ? :
|
143
|
0 |
0 |
unless @_ > 0
|
|
0 |
0 |
unless @_ > 1
|
|
0 |
0 |
if @_ > 2
|
150
|
0 |
0 |
unless (valid_json($json))
|
153
|
0 |
0 |
if ($ENV{'STRAVA_DEBUG'})
|
168
|
0 |
0 |
if keys %args
|
|
0 |
0 |
if @_ > 16
|
183
|
0 |
0 |
if $activity_type
|
184
|
0 |
0 |
if $name
|
185
|
0 |
0 |
if $description
|
186
|
0 |
0 |
if $private
|
187
|
0 |
0 |
if $trainer
|
188
|
0 |
0 |
if $external_id
|
197
|
0 |
0 |
unless (valid_json($json))
|
200
|
0 |
0 |
if ($ENV{'STRAVA_DEBUG'})
|
206
|
0 |
0 |
unless @_ > 0
|
|
0 |
0 |
if keys %args
|
|
0 |
0 |
if @_ > 3
|
207
|
0 |
0 |
if ($default) { }
|
218
|
0 |
0 |
if ("$default") { }
|
219
|
0 |
0 |
$_ ? :
|