blib/lib/Finance/Quote/CurrencyRates/AlphaVantage.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 1 | 14 | 7.1 |
line | true | false | branch |
---|---|---|---|
51 | 0 | 14 | if ref $args eq "HASH" and exists $args->{'API_KEY'} |
71 | 0 | 0 | unless $reply->code == 200 |
76 | 0 | 0 | if (not $json_data or $json_data->{'Error Message'}) |
82 | 0 | 0 | if $try_cnt < 5 and $json_data->{'Note'} |
85 | 0 | 0 | if (not $json_data->{'Realtime Currency Exchange Rate'}) { } |
95 | 0 | 0 | unless $rate + 0 |
98 | 0 | 0 | if ($rate < "0.001") |