Condition Coverage

lib/Finance/Robinhood/Equity/Order.pm
Criterion Covered Total %
condition 8 38 21.0


and 2 conditions

line l !l condition
150 0 0 $s->reload and return $s

and 3 conditions

line !l l&&!r l&&r condition
77 0 0 0 $filled and $cancelled
195 0 0 0 $filled and $rejected

or 2 conditions

line l !l condition
42 0 1 t::Utility::stash('ORDER') // skip_all()
108 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
127 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
148 0 0 $s->can_cancel // (return $s)
166 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
236 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
251 0 1 t::Utility::stash('ORDER') // skip_all('No order in stash')
349 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
373 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')

or 3 conditions

line l !l&&r !l&&!r condition
81 0 0 0 $filled // skip('Cannot find a filled equity order', 1)
86 0 0 0 $cancelled // skip('Cannot find a cancelled equity order', 1)
198 0 0 0 $filled // skip('Cannot find a filled equity order', 1)
203 0 0 0 $rejected // skip('Cannot find a rejected equity order', 1)