Branch Coverage

blib/lib/Finance/Currency/Convert/GMC.pm
Criterion Covered Total %
branch 8 16 50.0


line true false branch
57 1 1 if ($args{'_page_content'}) { }
63 0 1 unless ($tx->success)
81 0 20 unless $row->[0] =~ /\A[A-Z]{3}\z/
89 0 2 if (keys %currencies < 3)
149 0 2 if (uc $to ne 'IDR')
154 0 2 unless ($_get_res)
156 0 0 unless ($Finance::Currency::Convert::GMC::_get_res->[0] == 200)
162 0 2 unless my $c = $Finance::Currency::Convert::GMC::_get_res->[2]{'currencies'}{uc $from}