blib/lib/Finance/Currency/Convert/Esunbank.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 16 | 31.2 |
line | true | false | branch |
---|---|---|---|
19 | 2 | 0 | unless (eval { do { $dom = _fetch_currency_exchange_web_page() } }) |
22 | 2 | 0 | if defined $error |
28 | 0 | 0 | unless @cells |
45 | 1 | 1 | unless $to_currency eq 'TWD' |
48 | 1 | 0 | if defined $error |
52 | 0 | 0 | if ($_->{'currency'} eq $from_currency) |
57 | 0 | 0 | unless $rate |
67 | 0 | 0 | if $result->is_error |