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*$]
793 0 0 0 $self->{'start_date'} and $date lt $self->{'start_date'}
794 0 0 0 $self->{'end_date'} and $date gt $self->{'end_date'}
1140 0 0 0 $sdate and $edate
1225 0 0 0 ref $self->{'lineup'} and @{$self->{'lineup'};}
1273 0 0 0 $increment and $increment > 0
1276 0 0 0 $start_date and $start_date gt $end_date
1284 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() || []
811 0 0 $self->{'_label_pat'}{$target_mode}{$parse_mode} ||= {}
812 0 0 $self->{'_pat_label'}{$target_mode}{$parse_mode} ||= {}
831 0 0 $self->{'_label_pat'}{$target_mode}{$parse_mode} ||= {}
889 0 0 $self->{'_pat_label'}{$target_mode}{$parse_mode} ||= {}
941 0 0 $tm->{$parse_mode} ||= [$self->default_labels('target_mode', $target_mode, 'parse_mode', $parse_mode)]
1270 0 0 $parms{'end_date'} || 'today'
1272 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
741 0 0 0 $target_mode eq 'quote' or $target_mode eq 'intraday'
807 0 0 0 $parms{'target_mode'} || $self->target_mode
808 0 0 0 $parms{'parse_mode'} || $self->parse_mode
819 0 0 0 $l2p->{$label} ||= $label =~ /$Default_Vol_Pat/ ? qr/\s*$label/i : qr/^\s*$label/i
821 0 0 0 $p2l->{$pat} ||= $label
832 0 0 0 $l2p->{$label} || $self->set_label_pattern('label', $label)
886 0 0 0 $parms{'target_mode'} || $self->target_mode
887 0 0 0 $parms{'parse_mode'} || $self->parse_mode
901 0 0 0 $parms{'target_mode'} ||= $self->target_mode
902 0 0 0 $parms{'parse_mode'} ||= $self->parse_mode
909 0 0 0 $parms{'target_mode'} ||= $self->target_mode
910 0 0 0 $parms{'parse_mode'} ||= $self->parse_mode
917 0 0 0 $parms{'target_mode'} || $self->target_mode
922 0 0 0 $parms{'parse_mode'} || $self->parse_mode
933 0 0 0 $parms{'target_mode'} || $self->target_mode
934 0 0 0 $parms{'parse_mode'} || $self->parse_mode
936 0 0 0 $parms{'labels'} or not $tm->{$parse_mode}
982 0 0 0 $parms{'parse_mode'} || $self->parse_mode
990 0 0 0 $parms{'parse_mode'} || $self->parse_mode
1045 0 0 0 not @csv_lines or $csv_lines[0] =~ /(no data)|error/i
1048 0 0 0 $csv_lines[0] =~ /date/i or $csv_lines[0] =~ /\d+$/
1183 0 0 0 $target_mode ||= $self->target_mode
1203 0 0 0 $target_mode ||= $self->target_mode