Condition Coverage

blib/lib/Rex/Config.pm
Criterion Covered Total %
condition 43 115 37.3


and 3 conditions

line !l l&&!r l&&r condition
703 0 0 0 $? == 0 and $out
862 88 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}}
88 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}} and exists $SSH_CONFIG_FOR{$param->{'server'}}{'port'}
965 1 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}}
1 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}} and exists $SSH_CONFIG_FOR{$param->{'server'}}{'connectionattempts'}
998 0 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}}
0 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}} and exists $SSH_CONFIG_FOR{$param->{'server'}}{'proxycommand'}
1031 1 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}}
1 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}} and exists $SSH_CONFIG_FOR{$param->{'server'}}{'connecttimeout'}
1061 71 0 0 exists $ENV{'REX_AUTH_TYPE'} and $ENV{'REX_AUTH_TYPE'} eq "pass"
1087 63 0 0 exists $ENV{'REX_AUTH_TYPE'} and $ENV{'REX_AUTH_TYPE'} eq "key"
1113 70 0 0 exists $ENV{'REX_AUTH_TYPE'} and $ENV{'REX_AUTH_TYPE'} eq "krb5"
1270 0 36 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}}
36 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}} and exists $SSH_CONFIG_FOR{$param->{'server'}}{'user'}
1284 0 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}}
0 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}} and exists $SSH_CONFIG_FOR{$param->{'server'}}{'hostname'}
1303 0 39 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}}
39 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}} and exists $SSH_CONFIG_FOR{$param->{'server'}}{'identityfile'}
1322 0 39 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}}
39 0 0 exists $param->{'server'} and exists $SSH_CONFIG_FOR{$param->{'server'}} and exists $SSH_CONFIG_FOR{$param->{'server'}}{'identityfile'}
1338 162 0 55 not $^O =~ /^MSWin/u || $connection_type and $use_net_openssh_if_present
1452 0 117 0 "Rex::Template::NG"->is_loadable and get_use_template_ng()
1731 109 0 0 ref $HOME_CONFIG_YAML and exists $Rex::Config::HOME_CONFIG_YAML->{$topic}

or 2 conditions

line l !l condition
514 0 113 $cache_type || 'Base'
972 1 0 $max_connect_fails || 3
1038 1 0 $timeout || 2
1057 3 0 shift() || 1
1083 1 0 shift() || 1
1109 0 0 shift() || 1
1198 1 138 $parallelism || 1
1242 0 100 $log_facility || 'local0'
1263 0 270 $environment || ''
1369 162 0 $connection_type || 'SSH'
1374 0 0 $ca_file || ''
1379 0 0 $ca_cert || ''
1384 0 0 $ca_key || ''
1406 20 47 $distributor || 'Base'
1590 1 6511 $waitpid_blocking_sleep_time // "0.1"
1632 2 59 $default_auth // 1
1884 1576 0 $ENV{'HOME'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
1338 0 162 55 $^O =~ /^MSWin/u || $connection_type
1738 1 788 0 $config_file ||= _home_dir() . "/.rex/config.yml"
1761 2 788 0 $config_file ||= _home_dir() . "/.ssh/config"
1861 0 0 3 $hndl eq "passwordauth" or $hndl eq "passauth"