Branch Coverage

blib/lib/Text/NumericData/App/txdcontract.pm
Criterion Covered Total %
branch 28 42 66.6


line true false branch
64 0 4 if ($bincol > 0) { }
67 0 0 unless ($self->{'param'}{'binsize'} > 0)
76 0 4 unless (defined $n)
81 0 4 unless ($n > 0)
99 4 0 defined $self->{'n'} ? :
119 4 0 if (@{$self->{'txd'}{'titles'};}) { }
123 2 2 $self->{'param'}{'stats'} & $stats_stddev ? :
126 12 0 defined $txd->{'titles'}[$i] ? :
128 6 6 if $self->{'param'}{'stats'} & $stats_stddev
129 6 6 if ($self->{'param'}{'stats'} & $stats_minmax)
148 0 16 unless defined $data
152 16 0 if (defined $self->{'n'}) { }
159 12 4 if $self->{'param'}{'stats'}
169 8 8 if ($bin_finished or defined $self->{'n'} and $self->{'ln'} == $self->{'n'})
176 4 4 if ($self->{'param'}{'stats'} & $stats_stddev)
191 4 4 if ($self->{'param'}{'stats'} & $stats_minmax)
201 14 10 if not defined $max[$i] or $self->{'binbuffer'}[$d][$i] > $max[$i]
204 22 2 if not defined $min[$i] or $self->{'binbuffer'}[$d][$i] < $min[$i]
220 0 8 if $bin_finished
229 0 16 unless (defined $self->{'n'})
237 0 0 if $self->{'param'}{'stats'}