Condition Coverage

blib/lib/Finance/QuoteHist/Generic.pm
Criterion Covered Total %
condition 0 209 0.0


and 3 conditions

line !l l&&!r l&&r condition
95 0 0 0 $k eq 'end_date' and not $v =~ /^\s*$/
190 0 0 0 $capable && UNIVERSAL::isa($capable, 'CODE')
213 0 0 0 ref $request and $request->isa('HTTP::Request')
319 0 0 0 $self->{'verbose'} and $trys != $initial_trys
331 0 0 0 $data and $data eq $last_data
340 0 0 0 $so_far_so_good and not @$rows
342 0 0 0 not @$rows and $trys
0 0 0 not @$rows and $trys and $self->{'_lwp_success'}
352 0 0 0 $self->{'_lwp_success'} && $data
0 0 0 $self->{'_lwp_success'} and not @$rows
391 0 0 0 $self->{'verbose'} and $ecount
438 0 0 0 $self->is_quote_row($_) && $self->row_not_seen($s, $_)
463 0 0 0 defined $q and $q =~ /\d+/
480 0 0 0 @$rows and $self->{'quote_precision'}
497 0 0 0 @champion_classes and @bad_symbols
499 0 0 0 $self->{'verbose'} and $target_worthy
502 0 0 0 $champion and $champion->target_worthy('target_mode', $target_mode)
518 0 0 0 @bad_symbols and not $self->{'quiet'}
630 0 0 0 $self->{'verbose'} and @date_rows != $rc
669 0 0 0 $self->granularity =~ /^m/ and $date =~ m[^\s*(\D+)[-/]+(\d{2,})\s*$]
787 0 0 0 $self->{'start_date'} and $date lt $self->{'start_date'}
788 0 0 0 $self->{'end_date'} and $date gt $self->{'end_date'}
1134 0 0 0 $sdate and $edate
1219 0 0 0 ref $self->{'lineup'} and @{$self->{'lineup'};}
1267 0 0 0 $increment and $increment > 0
1270 0 0 0 $start_date and $start_date gt $end_date
1278 0 0 0 $start_date and $low_date lt $start_date

or 2 conditions

line l !l condition
144 0 0 $parms{'ua_params'} || {}
379 0 0 $extractions{$mode} ||= []
575 0 0 shift() || []
805 0 0 $self->{'_label_pat'}{$target_mode}{$parse_mode} ||= {}
806 0 0 $self->{'_pat_label'}{$target_mode}{$parse_mode} ||= {}
825 0 0 $self->{'_label_pat'}{$target_mode}{$parse_mode} ||= {}
883 0 0 $self->{'_pat_label'}{$target_mode}{$parse_mode} ||= {}
935 0 0 $tm->{$parse_mode} ||= [$self->default_labels('target_mode', $target_mode, 'parse_mode', $parse_mode)]
1264 0 0 $parms{'end_date'} || 'today'
1266 0 0 $parms{'units'} || 'days'

or 3 conditions

line l !l&&r !l&&!r condition
92 0 0 0 ref $that || $that
95 0 0 0 $k eq 'start_date' or $k eq 'end_date' and not $v =~ /^\s*$/
125 0 0 0 $parms{'end_date'} ||= 'Finance::QuoteHist::Generic'->date_standardize('today')
151 0 0 0 $self->{'ua'} ||= 'LWP::UserAgent'->new(%$ua_params)
181 0 0 0 $parms{'target_mode'} || $self->target_mode
182 0 0 0 $parms{'parse_mode'} || $self->parse_mode
242 0 0 0 $parms{'target_mode'} || $self->target_mode
243 0 0 0 $parms{'parse_mode'} || $self->parse_mode
345 0 0 0 $target_mode ne 'quote' or $target_mode ne 'intraday'
436 0 0 0 $target_mode eq 'quote' or $target_mode eq 'intraday'
467 0 0 0 not $trys or $pct >= $self->{'zthresh'}
483 0 0 0 $ecount or @$rows
561 0 0 0 $target_mode ||= $self->target_mode
735 0 0 0 $target_mode eq 'quote' or $target_mode eq 'intraday'
801 0 0 0 $parms{'target_mode'} || $self->target_mode
802 0 0 0 $parms{'parse_mode'} || $self->parse_mode
813 0 0 0 $l2p->{$label} ||= $label =~ /$Default_Vol_Pat/ ? qr/\s*$label/i : qr/^\s*$label/i
815 0 0 0 $p2l->{$pat} ||= $label
826 0 0 0 $l2p->{$label} || $self->set_label_pattern('label', $label)
880 0 0 0 $parms{'target_mode'} || $self->target_mode
881 0 0 0 $parms{'parse_mode'} || $self->parse_mode
895 0 0 0 $parms{'target_mode'} ||= $self->target_mode
896 0 0 0 $parms{'parse_mode'} ||= $self->parse_mode
903 0 0 0 $parms{'target_mode'} ||= $self->target_mode
904 0 0 0 $parms{'parse_mode'} ||= $self->parse_mode
911 0 0 0 $parms{'target_mode'} || $self->target_mode
916 0 0 0 $parms{'parse_mode'} || $self->parse_mode
927 0 0 0 $parms{'target_mode'} || $self->target_mode
928 0 0 0 $parms{'parse_mode'} || $self->parse_mode
930 0 0 0 $parms{'labels'} or not $tm->{$parse_mode}
976 0 0 0 $parms{'parse_mode'} || $self->parse_mode
984 0 0 0 $parms{'parse_mode'} || $self->parse_mode
1039 0 0 0 not @csv_lines or $csv_lines[0] =~ /(no data)|error/i
1042 0 0 0 $csv_lines[0] =~ /date/i or $csv_lines[0] =~ /\d+$/
1177 0 0 0 $target_mode ||= $self->target_mode
1197 0 0 0 $target_mode ||= $self->target_mode