Condition Coverage

blib/lib/Rstats/Array.pm
Criterion Covered Total %
condition 37 53 69.8


and 3 conditions

line !l l&&!r l&&r condition
333 95 1 0 defined $length and defined $by
349 95 0 1 defined $length and $from ne $to
831 0 1 1 defined $re and $re == 0
1 0 1 defined $re and $re == 0 and defined $im
1 0 1 defined $re and $re == 0 and defined $im and $im == 0
986 14 2 667 @$index_values and not $index->is_character
16 0 667 @$index_values and not $index->is_character and not $index->is_logical
996 663 4 0 $minus_count > 0 and $minus_count != @$index_values
1049 30 78 575 $count == 1 and $drop

or 2 conditions

line l !l condition
498 4393 41 $modes[0] || 'logical'
613 0 0 $self->{'type'} || ''
621 14 0 $self->{'type'} || ''
629 24 0 $self->{'type'} || ''
637 1349 0 $self->{'type'} || ''
645 1347 0 $self->{'type'} || ''
1268 18 0 $array->{'type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
81 1 5 4 $type eq 'integer' or $type eq 'double'
605 16 0 0 ($self->{'type'} || '') eq 'double' || ($self->{'type'} || '') eq 'integer'
791 1 1 18 Rstats::Util::is_nan($_) or Rstats::Util::is_infinite($_)
1338 47 1 26 defined $nrow || defined $ncol