Branch Coverage

blib/lib/Yahoo/Finance.pm
Criterion Covered Total %
branch 7 16 43.7


line true false branch
185 0 1 if (scalar @_ > 1) { }
204 0 1 if (scalar @_ > 1) { }
210 0 1 unless defined $params->{'symbol'}
221 0 6 if ($_ =~ /Period\d/)
224 0 0 if ($result->{$_} =~ /(\d{1,2})\-(\d{1,2})\-(\d{4})/)
242 0 1 if (scalar @_ > 1) { }
274 0 3 if $response->is_success
277 1 0 unless ($response->is_success)