Condition Coverage

blib/lib/Text/NumericData/File.pm
Criterion Covered Total %
condition 24 72 33.3


and 3 conditions

line !l l&&!r l&&r condition
43 10 6 2 defined $config->{'interpolate'} and $config->{'interpolate'} eq "spline"
10 5 1 defined $config->{'interpolate'} and not $config->{'interpolate'}
149 17 0 0 defined $state and $state != $Text::ASCIIPipe::allend
199 0 0 0 defined $self->{'splinex'} and $self->{'splinex'} == $x
210 2 0 278 defined $self->{'splinex'} and $self->{'splinex'} == $x
370 0 0 180 defined $sets and $#{$sets;} == 1
419 0 0 0 defined $sets and $#{$sets;} == 1
447 855 9 180 $v->[$x] > $val and defined $n
452 0 0 0 defined $self->{'data'}[0] and $self->{'data'}[0][$x] < $val
458 0 0 0 $v->[$x] > $val and defined $n
467 0 0 0 $v->[$x] < $val and defined $n
475 0 0 0 $n->[$x] <= $val and $e->[$x] >= $val
0 0 0 $n->[$x] >= $val and $e->[$x] <= $val
558 0 8 1 defined $down and $$down[++$i]
623 1 0 0 @delis and $delis[0] < 0
624 1 0 0 @delis and $delis[$#delis] > $#{$$self{"data"};}
642 0 0 0 @delis and $delis[0] == $pi

or 3 conditions

line l !l&&r !l&&!r condition
100 0 0 6 not defined $self->{'in_file'} or $self->{'in_file'} eq ""
180 0 0 2 $x < 0 or $x > $#data
282 0 0 0 not defined $self->{'out_file'} or $self->{'out_file'} eq ""
358 50 90 460 defined $set or $self->{'intmethod'} == $none
405 0 0 0 defined $y or $self->{'intmethod'} == $none
475 0 0 0 $n->[$x] <= $val and $e->[$x] >= $val or $n->[$x] >= $val and $e->[$x] <= $val
490 1 0 3 not defined $max or $nm > $max