blib/lib/Finance/StockAccount/Set.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 26 | 39 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
85 | 0 | 0 | 0 | $at->available and $at->buy || $at->short |
133 | 0 | 0 | 260 | $accountTransactions and 'ARRAY' eq ref $accountTransactions |
225 | 332 | 0 | 1168 | $$dateLimit{'start'} && $$dateLimit{'end'} |
233 | 446 | 536 | 186 | $realStart <= $limitEnd && $realStart >= $limitStart |
234 | 568 | 416 | 184 | $realEnd <= $limitEnd && $realEnd >= $limitStart |
235 | 982 | 82 | 104 | $startWithinLimit and $endWithinLimit |
289 | 114 | 890 | 0 | $realization->acquisitionCount and $realization->costBasis || $realization->revenue |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
85 | 0 | 0 | 0 | $at->buy || $at->short |
112 | 260 | 446 | 0 | $assertion == 1 or $assertion == 0 |
235 | 446 | 416 | 202 | $realStart >= $limitEnd or $realEnd <= $limitStart |
82 | 80 | 40 | $startWithinLimit || $endWithinLimit | |
289 | 387 | 0 | 503 | $realization->costBasis || $realization->revenue |
320 | 1004 | 0 | 1608 | $at->sell or $at->short |