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
441 0 0 0 $i + 1 < @_ and ref $_[$i + 1] eq "HASH"
461 14 0 0 $ENV{'FQ_LOAD_QUOTELET'} and not @load_modules
691 9 0 2 $hours == 12 and $3
0 2 0 $hours == 12 and $3 and $3 =~ /AM/i
692 4 2 5 $3 and $3 =~ /PM/i
6 2 3 $3 and $3 =~ /PM/i and $hours != 12
693 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
767 10 0 3 defined $piecesref->{'isodate'} and $piecesref->{'isodate'}
781 10 0 3 defined $piecesref->{'usdate'} and $piecesref->{'usdate'}
789 10 0 3 defined $piecesref->{'eurodate'} and $piecesref->{'eurodate'}
818 10 1 2 $year_specified == 0 and $this_month < $month
866 0 0 0 $from_code and $to_code
883 0 0 0 defined $from and defined $to

or 2 conditions

line l !l condition
254 0 260 $modpath->can('currency_fields') || \&Finance::Quote::default_currency_fields
869 0 0 $1 || 1

or 3 conditions

line l !l&&r !l&&!r condition
227 5 1 0 $dummy_obj ||= "Finance::Quote"->new
237 14 0 0 ref $class || $class
401 0 14 0 ref $self || $self
1038 0 0 0 @_ == 1 or not ref $_[0]
1058 0 0 0 @_ == 1 or not ref $_[0]