blib/lib/Math/OEIS/Grep.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 1 | 56 | 1.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
37 | 1 | 0 | 0 | $arg and $arg eq '-search' |
109 | 0 | 0 | 0 | $use_mmap and not defined $stripped_mmap |
144 | 0 | 0 | 0 | length $str > 50 and $i != $#$array |
153 | 0 | 0 | 0 | $value != 0 and abs $value <= 1000 |
160 | 0 | 0 | 0 | abs $diff < 20 and abs $array->[0] < 100 |
195 | 0 | 0 | 0 | @$array and $array->[0] == 0 |
205 | 0 | 0 | 0 | _aref_any_nonzero($array) and @$array >= 3 || length join(',', @$array) >= 5 |
366 | 0 | 0 | 0 | defined $values_min and grep {$_ < $values_min;} @found_values |
0 | 0 | 0 | defined $values_max and grep {$_ > $values_max;} @found_values | |
373 | 0 | 0 | 0 | defined $max_matches and $count >= $max_matches |
line | l | !l | condition |
---|---|---|---|
71 | 0 | 0 | $h{'verbose'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
136 | 0 | 0 | 0 | 'Math::OEIS::Stripped'->fh || croak('Cannot open ~/OEIS/stripped file') |
205 | 0 | 0 | 0 | @$array >= 3 || length join(',', @$array) >= 5 |
216 | 0 | 0 | 0 | $value eq '0' or $value =~ s/^-// |
364 | 0 | 0 | 0 | defined $values_min or defined $values_max |
366 | 0 | 0 | 0 | defined $values_min and grep {$_ < $values_min;} @found_values or defined $values_max and grep {$_ > $values_max;} @found_values |
397 | 0 | 0 | 0 | $count or $verbose |
460 | 0 | 0 | 0 | $i >= 15 or length $re > 40 |
525 | 0 | 0 | 0 | $bigint_class ||= do { require Math::BigInt; 'Math::BigInt' } |