Branch Coverage

blib/lib/Statistics/Sequences/Turns.pm
Criterion Covered Total %
branch 26 36 72.2


line true false branch
57 0 2 unless $self->all_numeric($self->access('index', -1))
90 5 3 ref $_[0] ? :
93 0 8 if not $trials or $trials < 3
96 88 188 if ($$data[$i - 1] > $data->[$i] and $$data[$i + 1] > $data->[$i]) { }
88 148 elsif ($$data[$i - 1] < $data->[$i] and $$data[$i + 1] < $data->[$i]) { }
130 0 7 ref $_[0] ? :
134 4 3 defined $args->{'trials'} ? :
155 0 8 ref $_[0] ? :
159 4 4 defined $args->{'trials'} ? :
214 1 3 ref $_[0] ? :
216 0 4 defined $args->{'trials'} ? :
227 0 4 defined $args->{'observed'} ? :
2 2 defined $args->{'ccorr'} ? :
229 1 3 wantarray ? :
268 0 0 ref $_[0] ? :
278 19 0 ref $_[0] ? :
281 0 19 unless ref $data
284 711 20 if not scalar @data_u or $data->[$i] != $data_u[-1]