Branch Coverage

blib/lib/Rstats.pm
Criterion Covered Total %
branch 76 102 74.5


line true false branch
32 0 0 !@$a1->elements ? :
45 0 0 ref $_ eq 'Rstats::Type::NA' ? :
59 0 0 ref $_ eq 'Rstats::NaN' ? :
73 0 0 !ref($_) || ref $_ eq 'Rstats::Type::Complex' || ref $_ eq 'Rstats::Logical' ? :
89 0 0 ref $_ eq 'Rstats::Inf' ? :
189 0 6 if ($a->is_matrix) { }
6 0 elsif ($a->is_vector) { }
201 2 4 unless defined $row_count_needed
202 0 6 if $row_count_needed ne $row_count
215 1 0 if (@$dim_values == 2) { }
233 1 0 if (@$dim_values == 2) { }
251 1 0 if (@$dim_values == 2) { }
269 1 0 if (@$dim_values == 2) { }
328 0 1 ref $_[-1] eq 'HASH' ? :
332 0 1 if $count < 1
336 1 0 unless defined $mean
339 1 0 unless defined $sd
374 3 1 ref $_[-1] eq 'HASH' ? :
383 0 4 unless defined $length
385 0 4 if $length > $v1_length and not $replace
393 55 100 if $replace
424 1 1 $asc ? :
438 2 1 if (&$cond_cb($v1_values->[$i]))
454 2 1 if ($v1_value) { }
478 0 9 if $$v2_values_h{$v2_value - 1} > 1
486 9 21 if ($v2_values_h->{$i}) { }
508 1 3 ref $_[-1] eq 'HASH' ? :
513 3 1 unless defined $after
515 1 3 if (ref $element eq 'ARRAY') { }
1 2 elsif (ref $element eq 'Rstats::Array') { }
570 1 1 ref $_[-1] eq 'HASH' ? :
573 1 1 unless defined $sep
606 4 2 unless defined $min
607 4 2 unless defined $max
608 0 6 if $min > $max
613 2 4 if (defined $self->{'seed'})
634 1 0 ref $_[-1] eq 'HASH' ? :
669 6 2 if not defined $maxs[$i] or $values->[$i] > $maxs[$i]
686 6 2 if not defined $mins[$i] or $values->[$i] < $mins[$i]
703 2 2 CORE::abs $_->value < 1e-05 ? :
769 1 2 ref $_[-1] eq 'HASH' ? :
773 2 1 unless defined $n
776 1 2 $self->length($v1) < $n ? :
788 1 2 ref $_[-1] eq 'HASH' ? :
792 2 1 unless defined $n
795 1 2 $self->length($v1) < $n ? :
835 1 6 ref $_[-1] eq 'HASH' ? :
837 3 4 unless defined $digits
838 2 5 unless defined $digits
1129 1 1 ref $_[-1] eq 'HASH' ? :
1135 1 1 $decreasing ? :