Condition Coverage

blib/lib/Finance/Quote.pm
Criterion Covered Total %
condition 28 64 43.7


and 3 conditions

line !l l&&!r l&&r condition
439 0 0 0 $i + 1 < @_ and ref $_[$i + 1] eq "HASH"
459 14 0 0 $ENV{'FQ_LOAD_QUOTELET'} and not @load_modules
689 9 0 2 $hours == 12 and $3
0 2 0 $hours == 12 and $3 and $3 =~ /AM/i
690 4 2 5 $3 and $3 =~ /PM/i
6 2 3 $3 and $3 =~ /PM/i and $hours != 12
691 0 0 11 $hours >= 0 and $hours <= 23
0 0 11 $hours >= 0 and $hours <= 23 and $mins >= 0
0 1 10 $hours >= 0 and $hours <= 23 and $mins >= 0 and $mins <= 59
765 10 0 3 defined $piecesref->{'isodate'} and $piecesref->{'isodate'}
779 10 0 3 defined $piecesref->{'usdate'} and $piecesref->{'usdate'}
787 10 0 3 defined $piecesref->{'eurodate'} and $piecesref->{'eurodate'}
816 10 1 2 $year_specified == 0 and $this_month < $month
864 0 0 0 $from_code and $to_code
881 0 0 0 defined $from and defined $to

or 2 conditions

line l !l condition
252 0 250 $modpath->can('currency_fields') || \&Finance::Quote::default_currency_fields
867 0 0 $1 || 1

or 3 conditions

line l !l&&r !l&&!r condition
225 5 1 0 $dummy_obj ||= "Finance::Quote"->new
235 14 0 0 ref $class || $class
399 0 14 0 ref $self || $self
1036 0 0 0 @_ == 1 or not ref $_[0]
1056 0 0 0 @_ == 1 or not ref $_[0]