Condition Coverage

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


and 2 conditions

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

and 3 conditions

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

or 2 conditions

line l !l condition
42 0 1 t::Utility::stash('ORDER') // skip_all()
110 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
131 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
153 0 0 $s->can_cancel // (return $s)
171 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
244 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
262 0 1 t::Utility::stash('ORDER') // skip_all('No order in stash')
360 0 1 t::Utility::stash('ORDER') // skip_all('No order object in stash')
385 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)
205 0 0 0 $filled // skip('Cannot find a filled equity order', 1)
210 0 0 0 $rejected // skip('Cannot find a rejected equity order', 1)