Condition Coverage

blib/lib/Net/SSH/Expect.pm
Criterion Covered Total %
condition 0 57 0.0


and 3 conditions

line !l l&&!r l&&r condition
383 0 0 0 defined $string and $string ne ''
402 0 0 0 defined $exp->before and not $exp->before eq ''

or 2 conditions

line l !l condition
31 0 0 $args{'host'} || undef
33 0 0 $args{'password'} || undef
34 0 0 $args{'port'} || undef
35 0 0 $args{'no_terminal'} || 0
36 0 0 $args{'escape_char'} || undef
37 0 0 $args{'ssh_option'} || undef
38 0 0 $args{'binary'} || 'ssh'
41 0 0 $args{'raw_pty'} || 0
42 0 0 $args{'exp_internal'} || 0
43 0 0 $args{'exp_debug'} || 0
44 0 0 $args{'log_file'} || undef
45 0 0 $args{'log_stdout'} || 0
46 0 0 $args{'restart_timeout_upon_receive'} || 0
50 0 0 $args{'terminator'} || "\n"
53 0 0 $args{'debug'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
28 0 0 0 ref $type || $type
32 0 0 0 $args{'user'} || $ENV{'USER'}
178 0 0 0 @_ == 2 or @_ == 3
268 0 0 0 $match_type eq '-re' or $match_type eq '-ex'
527 0 0 0 not $port =~ /\A\d+\z/ or $port < 1
0 0 0 not $port =~ /\A\d+\z/ or $port < 1 or $port > 65535
556 0 0 0 not $timeout =~ /\A\d+\z/ or $timeout < 0