blib/lib/App/cryp/arbit.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 60 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
498 | 0 | 0 | 0 | $r->{'args'}{'usd_rates'} and $r->{'args'}{'usd_rates'}{$cur} |
710 | 0 | 0 | 0 | $r->{'args'}{'accounts'} and @{$r->{'args'}{'accounts'};} >= 2 |
908 | 0 | 0 | 0 | _is_fiat($buy_currency) and $buy_currency ne 'USD' |
912 | 0 | 0 | 0 | _is_fiat($sell_currency) and $sell_currency ne 'USD' |
1268 | 0 | 0 | 0 | $args{'rounds'} > 0 and $round >= $args{'rounds'} |
1377 | 0 | 0 | 0 | $res->[2]{$type} and @{$res->[2]{$type};} |
1539 | 0 | 0 | 0 | $status eq 'open' and $time - $op->{'ctime'} > $r->{'args'}{'max_order_age'} |
1569 | 0 | 0 | 0 | $status eq 'open' and $time - $op->{'ctime'} > $r->{'args'}{'max_order_age'} |
1773 | 0 | 0 | 0 | defined $op->{'buy_filled_base_size'} and $op->{'buy_filled_base_size'} |
1798 | 0 | 0 | 0 | defined $op->{'sell_filled_base_size'} and $op->{'sell_filled_base_size'} |
line | l | !l | condition |
---|---|---|---|
603 | 0 | 0 | $r->{'_cryp'}{'exchanges'}{$exchange}{$account} // {} |
695 | 0 | 0 | $opts //= {} |
766 | 0 | 0 | $r->{'args'}{'quote_currencies'} // [] |
826 | 0 | 0 | $r->{'args'}{'base_currencies'} // [] |
1142 | 0 | 0 | $args{'strategy'} // 'merge_order_book' |
1222 | 0 | 0 | $args{'strategy'} // 'merge_order_book' |
1325 | 0 | 0 | $fiat_for{$exchange} //= [] |
1331 | 0 | 0 | $exchanges_for{$key} //= [] |
1334 | 0 | 0 | $pairs_for{$exchange} //= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
503 | 0 | 0 | 0 | $fxres->[0] == 200 or $fxres->[0] == 304 |
506 | 0 | 0 | 0 | not $rate_mem{$cur} or $rate_mem{$cur} != $fxres->[2]{'rate'} |
680 | 0 | 0 | 0 | $fees->{$exchange} // $fees->{':default'} |
681 | 0 | 0 | 0 | $fees_exchange->{$currency} // $fees_exchange->{':default'} |