line |
true |
false |
branch |
21
|
0 |
1 |
unless ($lowercase eq 'symbol' or $lowercase eq 'proxy' or $lowercase eq 'market') |
27
|
0 |
1 |
unless ($$self{'symbol'} =~ /^\d{4}$/ or $$self{'symbol'} =~ /^\d{4}\.[a-zA-Z]$/) |
31
|
0 |
1 |
if ($$self{'symbol'} =~ /^(\d{4})\.([a-zA-Z])$/) { } |
|
1 |
0 |
elsif ($$self{'symbol'} =~ /^(\d{4})$/) { } |
35
|
0 |
1 |
unless ($$self{'market'} and $$self{'market'} =~ /^[a-zA-Z]$/) |
90
|
0 |
1 |
if $$self{'proxy'} |
102
|
1 |
0 |
if ($res->is_success) { } |
124
|
0 |
5 |
if ($ts->depth eq '1' and $ts->count eq '3' or $ts->depth eq '0' and $ts->count eq '5') |
141
|
0 |
0 |
if $$self{'symbol_name'} |
157
|
0 |
0 |
if $$self{'last_trade_price'} |
165
|
0 |
0 |
if $$self{'last_trade_time'} |
180
|
0 |
0 |
if $$self{'high_price'} |
193
|
0 |
0 |
if $$self{'low_price'} |
206
|
0 |
1 |
if $$self{'prev_close'} |
219
|
0 |
0 |
if scalar $$self{'volume'} or scalar $$self{'volume'} eq '0' |
227
|
1 |
0 |
if (not $2) { } |
236
|
0 |
0 |
if scalar $$self{'change'} or scalar $$self{'change'} eq '0' |
244
|
1 |
0 |
if (not $2) { } |