| blib/lib/Finance/Currency/Convert/KlikBCA.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 18 | 55.5 |
| line | true | false | branch |
|---|---|---|---|
| 58 | 1 | 1 | if ($args{'_page_content'}) { } |
| 64 | 0 | 1 | unless ($tx->success) |
| 82 | 0 | 28 | unless $row->[0] =~ /\A[A-Z]{3}\z/ |
| 94 | 0 | 2 | if (keys %currencies < 3) |
| 159 | 0 | 2 | if (uc $to ne 'IDR') |
| 164 | 0 | 2 | unless ($_get_res) |
| 166 | 0 | 0 | unless ($Finance::Currency::Convert::KlikBCA::_get_res->[0] == 200) |
| 172 | 0 | 2 | unless my $c = $Finance::Currency::Convert::KlikBCA::_get_res->[2]{'currencies'}{uc $from} |
| 175 | 1 | 1 | if ($which =~ /\Aavg_(.+)/) { } |