line |
true |
false |
branch |
34
|
277 |
1 |
if $init |
44
|
241 |
13173 |
if ($tm) { } |
45
|
241 |
0 |
if (ref $tm and ref $tm eq 'Time::Moment') { } |
62
|
27 |
2 |
if ($dateString) { } |
64
|
27 |
0 |
if ($tm) { } |
75
|
2 |
0 |
if ($tm) { } |
87
|
36 |
0 |
if ($action) { } |
88
|
21 |
15 |
if ($action eq 'buy') { } |
|
14 |
1 |
elsif ($action eq 'sell') { } |
|
1 |
0 |
elsif ($action eq 'short') { } |
|
0 |
0 |
elsif ($action eq 'cover') { } |
111
|
0 |
2678 |
if ($stock) { } |
112
|
0 |
0 |
if (ref $stock and 'Finance::StockAccount::Stock' eq ref $stock) { } |
123
|
275 |
2403 |
unless ($stock) |
134
|
0 |
0 |
if ($stock) { } |
157
|
1 |
3064 |
if ($quantity) { } |
168
|
0 |
1 |
if ($price) { } |
179
|
0 |
3010 |
if ($commission) { } |
190
|
0 |
3009 |
if ($regulatoryFees) { } |
201
|
0 |
3009 |
if ($otherFees) { } |
223
|
1604 |
1939 |
if ($self->buy or $self->short) { } |
|
1939 |
0 |
elsif ($self->sell or $self->cover) { } |
229
|
3543 |
0 |
if ($cashEffect) { } |
242
|
1348 |
301 |
if (exists $$self{$key}) { } |
|
274 |
27 |
elsif ($key eq 'symbol') { } |
|
0 |
27 |
elsif ($key eq 'exchange') { } |
|
27 |
0 |
elsif ($key eq 'dateString') { } |
243
|
36 |
1312 |
if ($key eq 'action') { } |
|
241 |
1071 |
elsif ($key eq 'tm') { } |
272
|
0 |
0 |
if ($key and exists $$self{$key}) { } |
283
|
1 |
24842 |
if (not defined $$self{'action'}) { } |
294
|
167 |
15680 |
if ($assertion) { } |
306
|
111 |
5616 |
if ($assertion) { } |
318
|
1 |
3547 |
if ($assertion) { } |
330
|
0 |
0 |
if ($assertion) { } |
342
|
93 |
1061 |
if ($self->buy) { } |
|
1061 |
0 |
elsif ($self->sell) { } |
|
0 |
0 |
elsif ($self->short) { } |
|
0 |
0 |
elsif ($self->cover) { } |
364
|
14 |
2 |
if (defined $$self{$key}) { } |
|
2 |
0 |
elsif ($key eq 'date') { } |
365
|
2 |
12 |
if ($key eq 'stock') { } |
368
|
2 |
0 |
if (defined $symbol) |
371
|
0 |
2 |
if (defined $exchange) |
377
|
2 |
10 |
if ($key eq 'action') { } |
387
|
2 |
0 |
if ($$self{'tm'}) |