line |
true |
false |
branch |
69
|
9 |
0 |
if $success and $success eq 'OK' |
78
|
7 |
0 |
unless $error |
100
|
0 |
2 |
if (_eval('use JSON::XS ()')) { } |
104
|
2 |
0 |
if ($JSON::XS::VERSION >= 2) { } |
148
|
5 |
2 |
if (@_ == 1) |
153
|
4 |
0 |
if not -e $filename and $ENV{'HOME'} and -d $ENV{'HOME'} |
157
|
1 |
4 |
if (not -e $filename) { } |
162
|
0 |
4 |
unless open my $in, '<', $filename |
165
|
0 |
4 |
unless close $in |
174
|
0 |
3 |
unless _is_hash($hashRef) |
177
|
1 |
2 |
unless defined($login = $$hashRef{'login'}) |
179
|
0 |
2 |
unless defined($apiKey = $$hashRef{'api-key'}) |
185
|
1 |
4 |
unless defined $login |
186
|
1 |
3 |
unless defined $apiKey |
256
|
0 |
0 |
if ($res->is_error) |
260
|
0 |
0 |
if (_is_hash($param) and defined $$param{'error'}) |
263
|
0 |
0 |
if ($debug and $debug eq 'The authentication timestamp is out of range.') |