blib/lib/Finance/StockAccount/AccountTransaction.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 10 | 14 | 71.4 |
line | true | false | branch |
---|---|---|---|
20 | 0 | 2161 | if ($accounted) { } |
38 | 8138 | 3671 | $available > 0 ? : |
43 | 0 | 3001 | unless ($shares and $shares > 0) |
48 | 0 | 3001 | if (0 == $available) { } |
644 | 2357 | elsif ($shares > $available) { } | |
64 | 2631 | 6844 | if ($actionString eq 'sell' && $self->buy || $actionString eq 'cover' && $self->short and $self->available) { } |
83 | 0 | 147 | $available ? : |