Condition Coverage

blib/lib/WWW/Crab/Client.pm
Criterion Covered Total %
condition 9 29 31.0


or 2 conditions

line l !l condition
87 0 1 $ENV{'CRABSYSCONFIG'} || '/etc/crab'
100 0 1 $opt{'id'} || undef
173 0 0 $opt{'stdout'} || ''
0 0 $opt{'stderr'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
89 0 1 0 $ENV{'CRABUSERCONFIG'} || 'File::HomeDir'->my_home . '/.crab'
100 0 0 1 $opt{'command'} || $0
0 1 0 $opt{'server'} || $ENV{'CRABHOST'} || $conf->val('server', 'host', 'localhost')
0 1 0 $opt{'port'} || $ENV{'CRABPORT'} || $conf->val('server', 'port', 8000)
0 1 0 $opt{'hostname'} || $conf->val('client', 'hostname', hostname())
0 1 0 $opt{'username'} || $conf->val('client', 'username', _get_username())
0 1 0 $opt{'timeout'} || $conf->val('server', 'timeout', 30)