blib/lib/Finance/Currency/Convert/SCSB.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 |
49 | 1 | 1 | unless $to_currency eq 'TWD' |
53 | 1 | 0 | if defined $error |
57 | 0 | 0 | if $_->{'en_currency_name'} =~ /CASH/ |
58 | 0 | 0 | if ($_->{'currency'} eq $from_currency) |
63 | 0 | 0 | unless $rate |
71 | 0 | 0 | if $result->is_error |