Condition Coverage

blib/lib/Finance/Currency/Convert/Yahoo.pm
Criterion Covered Total %
condition 0 58 0.0


and 2 conditions

line l !l condition
132 0 0 carp("No such currency code as <$from>.") and return undef
133 0 0 carp("No such currency code as <$to>.") and return undef
134 0 0 carp("Please supply a positive sum to convert .") and return undef
161 0 0 carp("No such currency code as <$from>.") and return undef
162 0 0 carp("No such currency code as <$to>.") and return undef
163 0 0 carp("Please supply a positive sum to convert .") and return undef
211 0 0 die "...could not GET.\n" and return undef
253 0 0 die "...could not GET.\n" and return undef

and 3 conditions

line !l l&&!r l&&r condition
131 0 0 0 defined $amount and defined $from
0 0 0 defined $amount and defined $from and defined $to
160 0 0 0 defined $amount and defined $from
0 0 0 defined $amount and defined $from and defined $to
178 0 0 0 defined $doc and defined $result
0 0 0 defined $doc and not defined $result
179 0 0 0 defined $result and defined $Finance::Currency::Convert::Yahoo::CHAT
198 0 0 0 defined $amount and defined $to
0 0 0 defined $amount and defined $to and defined $from
238 0 0 0 defined $amount and defined $to
0 0 0 defined $amount and defined $to and defined $from
281 0 0 0 @$token[0] eq 'S' && @$token[1] eq 'td' && @$token[2]->{'class'} && @$token[2]->{'class'} eq 'yfnc_tabledata1'
0 0 0 $token = $p->get_token and not @$token[0] eq 'S' && @$token[1] eq 'td' && @$token[2]->{'class'} && @$token[2]->{'class'} eq 'yfnc_tabledata1'
288 0 0 0 @$token[0] ne 'S' and @$token[1] ne 'b'