Condition Coverage

blib/lib/Math/NumSeq/OEIS/File.pm
Criterion Covered Total %
condition 9 85 10.5


and 3 conditions

line !l l&&!r l&&r condition
59 0 0 0 ref $class_or_self and defined $$class_or_self{'description'}
152 2 0 128 $new > $iv and ($new & 1) == 1
212 24 52 44 $$self{'_dont_use_afile'} and $basefile =~ /^a/
213 37 0 39 $$self{'_dont_use_bfile'} and $basefile =~ /^b/
318 0 0 0 defined $values_max && $values_max - $values_min <= 16
324 0 0 0 not defined $$self{'values_min'} and $range_is_small || $$self{'characteristic'}{'OEIS_full'} || !$$self{'characteristic'}{'OEIS_sign'}
331 0 0 0 not defined $$self{'values_max'} and $range_is_small || $$self{'characteristic'}{'OEIS_full'}
345 0 0 0 defined $prev_i and $increasing_from_i < $prev_i
355 0 0 0 defined $prev_i and $non_decreasing_from_i < $prev_i
443 0 0 0 not ref $value and length $value > 14
513 0 0 0 defined $prev_i and $i != $prev_i + 1
562 0 0 0 $contents =~ /^%K\s+\Q$anum\E\s+(.*)/im && $1
631 0 0 0 $contents =~ /(^|)%K (.*?)(|$)/im && $2
702 0 0 0 $contents =~ /OFFSET.*?<[tT][tT]>(\d+)/s && $1
806 0 0 0 $$self{'characteristic'}{'OEIS_cons'} and not $$self{'characteristic'}{'OEIS_base'}
0 0 0 $$self{'characteristic'}{'OEIS_cons'} and not $$self{'characteristic'}{'OEIS_base'} and $$self{'anum'} ne 'A000012'
829 0 0 0 defined $str and $str =~ /^([0-9,-]|\s)+$/
843 0 0 0 _HAVE_ENCODE and $contents =~ /]+ http-equiv=[^>]+ content-type[^>]+ charset=([a-z0-9-_]+)/six
870 0 0 0 defined $$self{'fh_i'} and $i <= $$self{'fh_i'} + 20

or 2 conditions

line l !l condition
99 0 0 $prefix ||= 'b'
794 0 0 $keywords || ''

or 3 conditions

line l !l&&r !l&&!r condition
237 0 0 65 _read_internal_txt($self, $anum) || _read_internal_html($self, $anum) || _read_html($self, $anum)
241 0 0 65 $have_info or $$self{'fh'}
274 0 0 0 not defined $values_min or $value < $values_min
277 0 0 0 not defined $values_max or $value > $values_max
324 0 0 0 $range_is_small || $$self{'characteristic'}{'OEIS_full'} || !$$self{'characteristic'}{'OEIS_sign'}
331 0 0 0 $range_is_small || $$self{'characteristic'}{'OEIS_full'}
338 0 0 0 $total_count == 0 || $smaller_count / $total_count >= 0.9 && $strictly_smaller_count > 0
753 0 0 0 $$self{'filename'} ||= $filename