line |
true |
false |
branch |
49
|
0 |
0 |
defined $args{'timeout'} ? : |
60
|
0 |
0 |
unless (exists $$self{$key}) |
95
|
0 |
0 |
unless $host |
96
|
0 |
0 |
unless $user |
111
|
0 |
0 |
$escape_char ? : |
112
|
0 |
0 |
if $port |
113
|
0 |
0 |
if $no_terminal |
114
|
0 |
0 |
if $ssh_option |
127
|
0 |
0 |
if $log_file |
178
|
0 |
0 |
if (@_ == 2 or @_ == 3) |
182
|
0 |
0 |
if (@_ == 1) |
191
|
0 |
0 |
unless $user |
192
|
0 |
0 |
unless $password |
195
|
0 |
0 |
unless (defined $$self{'expect'}) |
196
|
0 |
0 |
unless $self->run_ssh |
217
|
0 |
0 |
if ($test_success) |
266
|
0 |
0 |
@_ ? : |
267
|
0 |
0 |
@_ ? : |
268
|
0 |
0 |
unless $match_type eq '-re' or $match_type eq '-ex' |
279
|
0 |
0 |
unless (defined $pos) |
281
|
0 |
0 |
if (defined $$self{'match'}) |
282
|
0 |
0 |
if ($debug) |
289
|
0 |
0 |
if (defined $$self{'after'}) |
290
|
0 |
0 |
if ($debug) |
326
|
0 |
0 |
unless $send |
341
|
0 |
0 |
@_ ? : |
383
|
0 |
0 |
unless (defined $string and $string ne '') |
384
|
0 |
0 |
if ($$self{'debug'}) |
402
|
0 |
0 |
if (defined $exp->before and not $exp->before eq '') |
403
|
0 |
0 |
if ($$self{'debug'}) |
417
|
0 |
0 |
@_ ? : |
429
|
0 |
0 |
@_ ? : |
454
|
0 |
0 |
@_ ? : |
457
|
0 |
0 |
if ($self->waitfor($t, $timeout)) |
467
|
0 |
0 |
@_ ? : |
484
|
0 |
0 |
defined $$self{'expect'} ? : |
497
|
0 |
0 |
@_ ? : |
507
|
0 |
0 |
unless @_ |
513
|
0 |
0 |
unless @_ |
519
|
0 |
0 |
unless @_ |
525
|
0 |
0 |
unless @_ |
527
|
0 |
0 |
if not $port =~ /\A\d+\z/ or $port < 1 or $port > 65535 |
534
|
0 |
0 |
if @_ |
541
|
0 |
0 |
if (@_) |
552
|
0 |
0 |
unless (@_) |
556
|
0 |
0 |
if (not $timeout =~ /\A\d+\z/ or $timeout < 0) |
578
|
0 |
0 |
@_ ? : |
581
|
0 |
0 |
if (defined $error) |
583
|
0 |
0 |
if ($error_first_digit eq '2') { } |
|
0 |
0 |
elsif ($error_first_digit eq '3') { } |
|
0 |
0 |
elsif ($error_first_digit eq '4') { } |
594
|
0 |
0 |
if (wantarray) { } |