Branch Coverage

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


line true false branch
62 0 2 unless $self->all_numeric($self->access('index', -1))
94 5 3 ref $_[0] ? :
97 0 8 if not $trials or $trials < 3
100 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]) { }
132 0 7 ref $_[0] ? :
136 4 3 defined $args->{'trials'} ? :
156 0 8 ref $_[0] ? :
160 4 4 defined $args->{'trials'} ? :
213 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 ? :
263 0 0 ref $_[0] ? :
272 19 0 ref $_[0] ? :
275 0 19 unless ref $data
278 711 20 if not scalar @data_u or $data->[$i] != $data_u[-1]