blib/lib/Finance/StockAccount/Acquisition.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 8 | 62.5 |
line | true | false | branch |
---|---|---|---|
30 | 1505 | 1505 | if ($at) { } |
31 | 1505 | 0 | if (ref $at and $at->buy || $at->short) { } |
78 | 0 | 1505 | unless ($at and $shares) |
81 | 1505 | 0 | if ($shares =~ /^[0-9]+$/ and $shares > 0) { } |