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*$]
792 0 0 0 $self->{'start_date'} and $date lt $self->{'start_date'}
793 0 0 0 $self->{'end_date'} and $date gt $self->{'end_date'}
1139 0 0 0 $sdate and $edate
1224 0 0 0 ref $self->{'lineup'} and @{$self->{'lineup'};}
1272 0 0 0 $increment and $increment > 0
1275 0 0 0 $start_date and $start_date gt $end_date
1283 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() || []
810 0 0 $self->{'_label_pat'}{$target_mode}{$parse_mode} ||= {}
811 0 0 $self->{'_pat_label'}{$target_mode}{$parse_mode} ||= {}
830 0 0 $self->{'_label_pat'}{$target_mode}{$parse_mode} ||= {}
888 0 0 $self->{'_pat_label'}{$target_mode}{$parse_mode} ||= {}
940 0 0 $tm->{$parse_mode} ||= [$self->default_labels('target_mode', $target_mode, 'parse_mode', $parse_mode)]
1269 0 0 $parms{'end_date'} || 'today'
1271 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
740 0 0 0 $target_mode eq 'quote' or $target_mode eq 'intraday'
806 0 0 0 $parms{'target_mode'} || $self->target_mode
807 0 0 0 $parms{'parse_mode'} || $self->parse_mode
818 0 0 0 $l2p->{$label} ||= $label =~ /$Default_Vol_Pat/ ? qr/\s*$label/i : qr/^\s*$label/i
820 0 0 0 $p2l->{$pat} ||= $label
831 0 0 0 $l2p->{$label} || $self->set_label_pattern('label', $label)
885 0 0 0 $parms{'target_mode'} || $self->target_mode
886 0 0 0 $parms{'parse_mode'} || $self->parse_mode
900 0 0 0 $parms{'target_mode'} ||= $self->target_mode
901 0 0 0 $parms{'parse_mode'} ||= $self->parse_mode
908 0 0 0 $parms{'target_mode'} ||= $self->target_mode
909 0 0 0 $parms{'parse_mode'} ||= $self->parse_mode
916 0 0 0 $parms{'target_mode'} || $self->target_mode
921 0 0 0 $parms{'parse_mode'} || $self->parse_mode
932 0 0 0 $parms{'target_mode'} || $self->target_mode
933 0 0 0 $parms{'parse_mode'} || $self->parse_mode
935 0 0 0 $parms{'labels'} or not $tm->{$parse_mode}
981 0 0 0 $parms{'parse_mode'} || $self->parse_mode
989 0 0 0 $parms{'parse_mode'} || $self->parse_mode
1044 0 0 0 not @csv_lines or $csv_lines[0] =~ /(no data)|error/i
1047 0 0 0 $csv_lines[0] =~ /date/i or $csv_lines[0] =~ /\d+$/
1182 0 0 0 $target_mode ||= $self->target_mode
1202 0 0 0 $target_mode ||= $self->target_mode