line |
true |
false |
branch |
97
|
0 |
1 |
unless $response->{'success'} |
108
|
4 |
3 |
if (defined $self->{'location'}) { } |
|
0 |
3 |
elsif (defined $self->{'latitude'} and defined $self->{'longitude'}) { } |
116
|
2 |
2 |
if (defined $self->{'date'} and defined $self->{'date2'}) { } |
|
1 |
2 |
elsif (not defined $self->{'date'} and defined $self->{'date2'}) { } |
127
|
2 |
0 |
if (defined $self->{'location'}) { } |
|
0 |
0 |
elsif (defined $self->{'latitude'} and defined $self->{'longitude'}) { } |
135
|
1 |
1 |
if (defined $self->{'date'} and defined $self->{'date2'}) { } |
|
0 |
1 |
elsif (not defined $self->{'date'} and defined $self->{'date2'}) { } |
|
1 |
0 |
elsif (defined $self->{'date'}) { } |
143
|
0 |
2 |
unless (defined $self->{'key'}) |
148
|
2 |
0 |
if (defined $self->{'include'}) |
151
|
0 |
2 |
if (defined $self->{'unitGroup'}) |
154
|
0 |
2 |
if (defined $self->{'lang'}) |
157
|
0 |
2 |
if (defined $self->{'options'}) |
160
|
0 |
2 |
if (defined $self->{'nonulls'}) |
163
|
0 |
2 |
if (defined $self->{'noheaders'}) |
166
|
0 |
2 |
if (defined $self->{'contentType'}) |
169
|
0 |
2 |
if (defined $self->{'timezone'}) |
172
|
0 |
2 |
if (defined $self->{'maxDistance'}) |
175
|
0 |
2 |
if (defined $self->{'maxStations'}) |
178
|
0 |
2 |
if (defined $self->{'elevationDifference'}) |
181
|
0 |
2 |
if (defined $self->{'locationNames'}) |
184
|
0 |
2 |
if (defined $self->{'forecastBasisDate'}) |
187
|
0 |
2 |
if (defined $self->{'forecastBasisDay'}) |
190
|
0 |
2 |
if (defined $self->{'degreeDayTempBase'}) |
193
|
0 |
2 |
if (defined $self->{'degreeDayTempMaxThreshold'}) |
197
|
0 |
2 |
if $DEBUG |