line |
!l |
l&&!r |
l&&r |
condition |
27
|
15 |
0 |
1 |
$options and exists $$options{'allowZeroPrice'} |
|
15 |
0 |
1 |
$options and exists $$options{'allowZeroPrice'} and $$options{'allowZeroPrice'} |
176
|
0 |
0 |
257 |
ref $at and ref $at eq 'Finance::StockAccount::AccountTransaction' |
199
|
0 |
0 |
1 |
ref $accountTransactions and ref $accountTransactions eq 'ARRAY' |
216
|
1 |
0 |
22 |
exists $$init{'action'} && grep({$_ eq $$init{'action'};} 'buy', 'sell', 'short', 'cover') |
|
1 |
0 |
21 |
exists $$init{'quantity'} && $$init{'quantity'} =~ /[0-9]/ && $$init{'quantity'} > 0 |
|
1 |
0 |
20 |
exists $$init{'price'} && $$init{'price'} =~ /[0-9]/ |
|
17 |
1 |
2 |
$$init{'price'} <= 0 and not $$self{'allowZeroPrice'} |
241
|
18 |
0 |
0 |
exists $$init{'stock'} and exists $$init{'symbol'} || exists $$init{'exchange'} |
484
|
0 |
0 |
13 |
$setCount > 0 and $totalOutlays |