Branch Coverage

blib/lib/Finance/Currency/Convert/KlikBCA.pm
Criterion Covered Total %
branch 10 18 55.5


line true false branch
43 1 1 if ($args{'_page_content'}) { }
49 0 1 unless ($tx->success)
67 0 28 unless $row->[0] =~ /\A[A-Z]{3}\z/
79 0 2 if (keys %currencies < 3)
129 0 2 unless ($_get_res)
131 0 0 unless ($Finance::Currency::Convert::KlikBCA::_get_res->[0] == 200)
137 0 2 if (uc $to ne 'IDR')
142 0 2 unless my $c = $Finance::Currency::Convert::KlikBCA::_get_res->[2]{'currencies'}{uc $from}
145 1 1 if ($which =~ /\Aavg_(.+)/) { }