Condition Coverage

blib/lib/Tapper/Cmd/Testrun.pm
Criterion Covered Total %
condition 19 36 52.7


and 3 conditions

line !l l&&!r l&&r condition
117 4 0 19 $args{'requested_hosts'} and not $args{'requested_host_ids'}
238 0 0 0 $testrun and $testrun->testrun_id
252 0 0 0 $testrun and $testrun->testrun_id

or 2 conditions

line l !l condition
101 1 22 $args{'notes'} ||= ''
102 1 22 $args{'shortname'} ||= ''
110 6 17 $args{'topic'} || 'Misc'
114 0 22 $ENV{'USER'} || 'nobody'
126 5 18 $args{'queue'} ||= 'AdHoc'
151 1 0 $args{'notify'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
113 1 22 0 $args{'earliest'} ||= 'DateTime'->now
114 1 22 0 $args{'owner'} ||= $ENV{'USER'} || 'nobody'
115 0 23 0 $args{'owner_id'} ||= Tapper::Model::get_or_create_owner($args{'owner'})
194 0 0 0 $args{'owner_id'} || Tapper::Model::get_or_create_owner($args{'owner'})
267 1 0 1 $testrun_result->testrun_scheduling->status eq 'schedule' or $testrun_result->testrun_scheduling->status eq 'prepare'