line |
true |
false |
branch |
22
|
0 |
7 |
defined $ENV{'SPACETRACK_VERIFY_HOSTNAME'} ? : |
58
|
0 |
1 |
unless ($rslt) |
71
|
0 |
1 |
unless $rslt |
82
|
0 |
1 |
unless ($rslt) |
94
|
0 |
4 |
unless ($rslt = eval {
do {
$obj->$method(@args)
}
}) |
99
|
0 |
4 |
unless $rslt->is_success |
108
|
0 |
33 |
if $skip =~ / [^0-9] /msx |
111
|
0 |
33 |
unless ($rslt = eval {
do {
$obj->$method(@args)
}
}) |
117
|
0 |
33 |
unless (&ok(scalar $rslt->is_success, $name)) |
126
|
0 |
0 |
unless $rslt |
154
|
7 |
0 |
unless eval {
do {
require Term::ReadKey;
$set_read_mode = "Term::ReadKey"->can("ReadMode");
$readkey_loaded = 1;
1
}
} |
165
|
0 |
0 |
'HASH' eq ref $args[0] ? : |
168
|
0 |
0 |
unless $readkey_loaded or not $opt->{'password'} |
172
|
0 |
0 |
if $opt->{'password'} |
174
|
0 |
0 |
if ($opt->{'password'}) |
176
|
0 |
0 |
if $readkey_loaded |
179
|
0 |
0 |
if defined $input |
212
|
0 |
7 |
if (defined $ENV{'ASTRO_SPACETRACK_SKIP_SITE'}) |
216
|
0 |
0 |
if exists $info{$site}{'url'} |
231
|
0 |
0 |
unless exists $info{$site}{'url'} |
238
|
6 |
1 |
unless my(@rslt) = grep({defined $_;} map({_site_check($_);} @sites)) |
245
|
0 |
7 |
if exists $skip_site{$site} |
246
|
0 |
7 |
unless (my $url = __site_to_check_uri($site)) |
255
|
0 |
7 |
if $Astro::SpaceTrack::Test::SKIP_SITES |
266
|
1 |
6 |
unless $rslt->is_success |
268
|
0 |
6 |
if ($info{$site}{'check'} and my $check = $info{$site}{'check'}->()) |
288
|
34 |
0 |
unless $is_server_error[$code] |
304
|
0 |
0 |
unless -f "Astro::SpaceTrack"->__identity_file_name |
314
|
0 |
0 |
if "Astro::SpaceTrack"->__identity_file_is_encrypted and $ENV{'SSH_CONNECTION'} |
317
|
0 |
0 |
if defined $id->{'username'} and defined $id->{'password'} |
328
|
0 |
0 |
unless defined $spacetrack_auth |
329
|
0 |
0 |
if defined $spacetrack_auth and $spacetrack_auth =~ m[ \A [:/] \z ]msx |
332
|
0 |
0 |
if $spacetrack_auth |
335
|
0 |
0 |
if $ENV{'AUTOMATED_TESTING'} |
337
|
0 |
0 |
if ($spacetrack_auth = __spacetrack_identity()) |
339
|
0 |
0 |
if $arg{'envir'} |
343
|
0 |
0 |
if $arg{'no_prompt'} |
344
|
0 |
0 |
if ($^O eq "VMS") |
376
|
0 |
0 |
unless (my $user = prompt("Space-Track username") and my $pass = prompt({"password", 1}, "Space-Track password")) |
388
|
0 |
0 |
unless $ENV{'SPACETRACK_TEST_LIVE'} |
389
|
0 |
0 |
if defined($skip = __spacetrack_skip("envir", 1, "no_prompt", "No Space-Track account provided")) |
406
|
0 |
0 |
unless "Regexp" eq ref $exception |
409
|
0 |
0 |
if ($rslt = eval {
do {
$obj->$method(@args)
}
}) |