blib/lib/Finance/Quote/CurrencyRates/OpenExchange.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 2 | 18 | 11.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
46 | 0 | 1 | 0 | ref $args eq "HASH" and exists $args->{'API_KEY'} |
78 | 0 | 0 | 0 | exists $this->{'cache'}{$from} and exists $this->{'cache'}{$to} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 0 | 1 | 0 | ref $self || $self |
59 | 0 | 0 | 0 | $this->{'refresh'} or not exists $this->{'cache'} |
68 | 0 | 0 | 0 | not $json_data or $json_data->{'error'} |
0 | 0 | 0 | not $json_data or $json_data->{'error'} or not exists $json_data->{'rates'} |