Condition Coverage

blib/lib/Finance/StockAccount/Transaction.pm
Criterion Covered Total %
condition 12 25 48.0


and 3 conditions

line !l l&&!r l&&r condition
45 0 0 241 ref $tm and ref $tm eq 'Time::Moment'
112 0 0 0 ref $stock and 'Finance::StockAccount::Stock' eq ref $stock
272 0 0 0 $key and exists $$self{$key}

or 2 conditions

line l !l condition
406 145 3 $$self{'tm'} || ''
148 0 $$self{'price'} || 0
123 25 $$self{'commission'} || 0
49 99 $$self{'regulatoryFees'} + $$self{'otherFees'} || 0
148 0 $self->cashEffect || 0

or 3 conditions

line l !l&&r !l&&!r condition
223 1604 0 1939 $self->buy or $self->short
1939 0 0 $self->sell or $self->cover