| line |
true |
false |
branch |
|
28
|
45 |
0 |
if $init |
|
67
|
1414 |
100 |
if $at->accounted > 0 |
|
76
|
83 |
505 |
if $at->accounted == 0 |
|
85
|
0 |
0 |
if ($at->available and $at->buy || $at->short) |
|
100
|
0 |
0 |
if ($string) { } |
|
111
|
706 |
860 |
if (defined $assertion) { } |
|
112
|
706 |
0 |
if ($assertion == 1 or $assertion == 0) { } |
|
113
|
260 |
446 |
$assertion ? : |
|
133
|
0 |
260 |
unless $accountTransactions and 'ARRAY' eq ref $accountTransactions |
|
139
|
0 |
266 |
unless 'Finance::StockAccount::AccountTransaction' eq ref $at |
|
140
|
45 |
221 |
unless ($stock) |
|
141
|
45 |
0 |
if ($stock = $at->stock) |
|
145
|
0 |
266 |
unless $stock->same($at->stock) |
|
149
|
260 |
0 |
if ($added) |
|
171
|
0 |
350 |
if ($tm1 > $tm2) |
|
194
|
300 |
334 |
$p1 == $p2 ? : |
|
|
1969 |
634 |
$p1 > $p2 ? : |
|
225
|
332 |
1168 |
if (not $$dateLimit{'start'} && $$dateLimit{'end'}) { } |
|
233
|
186 |
982 |
$realStart <= $limitEnd && $realStart >= $limitStart ? : |
|
234
|
184 |
984 |
$realEnd <= $limitEnd && $realEnd >= $limitStart ? : |
|
235
|
104 |
1064 |
if ($startWithinLimit and $endWithinLimit) { } |
|
|
862 |
202 |
elsif ($realStart >= $limitEnd or $realEnd <= $limitStart) { } |
|
|
40 |
162 |
elsif (not $startWithinLimit || $endWithinLimit) { } |
|
|
82 |
80 |
elsif ($startWithinLimit) { } |
|
|
80 |
0 |
elsif ($endWithinLimit) { } |
|
265
|
0 |
1004 |
unless ($$self{'dateSort'}) |
|
279
|
394 |
1500 |
unless $sharesDivested |
|
281
|
1500 |
0 |
if ($accounted) |
|
289
|
387 |
617 |
if ($realization->acquisitionCount and $realization->costBasis || $realization->revenue) { } |
|
305
|
0 |
617 |
if $$self{'verbose'} |
|
313
|
44 |
402 |
unless ($$self{'dateSort'}) |
|
320
|
1004 |
1608 |
if ($at->sell or $at->short) |
|
321
|
1004 |
0 |
if ($at->available) |
|
333
|
387 |
73 |
if ($tm) { } |
|
334
|
179 |
208 |
if (not $startDate) { } |
|
|
57 |
151 |
elsif ($tm < $startDate) { } |
|
354
|
387 |
73 |
if ($tm) { } |
|
355
|
179 |
208 |
if (not $endDate) { } |
|
|
181 |
27 |
elsif ($tm > $endDate) { } |
|
374
|
13 |
1290 |
if ($$self{'stats'}{'stale'}) |