blib/lib/Finance/Currency/Convert/SCSB.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 5 | 14 | 35.7 |
line | true | false | branch |
---|---|---|---|
20 | 2 | 0 | unless (eval { do { $dom = _fetch_currency_exchange_web_page() } }) |
23 | 2 | 0 | if defined $error |
48 | 1 | 1 | unless $to_currency eq 'TWD' |
52 | 1 | 0 | if defined $error |
56 | 0 | 0 | if ($_->{'en_currency_name'} eq $from_currency) |
61 | 0 | 0 | unless $rate |
69 | 0 | 0 | if $result->is_error |