line |
true |
false |
branch |
67
|
0 |
3 |
unless exists $allowed_params{$key}
|
71
|
1 |
0 |
if ($params{'service'})
|
73
|
0 |
1 |
unless $params{'service'} =~ /^Yahoo$|^XE$/
|
79
|
1 |
0 |
if ($params{'from'})
|
81
|
0 |
1 |
unless $params{'from'}->isa('Locale::Object::Currency')
|
87
|
1 |
0 |
if ($params{'to'})
|
89
|
0 |
1 |
unless $params{'to'}->isa('Locale::Object::Currency')
|
107
|
0 |
1 |
if ($service eq 'xe') { }
|
|
1 |
0 |
elsif ($service eq 'yahoo') { }
|
110
|
0 |
0 |
if ($use_xe == 1) { }
|
123
|
1 |
0 |
if ($use_yahoo == 1) { }
|
146
|
0 |
1 |
unless $from->isa('Locale::Object::Currency')
|
157
|
0 |
1 |
unless $to->isa('Locale::Object::Currency')
|
170
|
0 |
3 |
unless &looks_like_number($value)
|
172
|
0 |
3 |
unless $self->{'from'}
|
173
|
0 |
3 |
unless $self->{'to'}
|
174
|
0 |
3 |
unless $self->{'service'}
|
178
|
0 |
3 |
if ($self->{'service'} eq 'Yahoo') { }
|
|
1 |
2 |
elsif ($self->{'service'} eq 'XE') { }
|
205
|
0 |
0 |
if $! ne ''
|
216
|
0 |
1 |
unless my $xe = 'Finance::Currency::Convert::XE'->new
|
229
|
1 |
0 |
if $! ne ''
|
240
|
1 |
0 |
unless $self->{'_rate'}
|
250
|
1 |
0 |
if ($self->{'_timestamp'}) { }
|