Branch Coverage

blib/lib/Text/NumericData/App/txdcalc.pm
Criterion Covered Total %
branch 21 48 43.7


line true false branch
108 0 6 if $param->{'lin'}
109 0 6 if $param->{'spline'}
111 0 6 if (defined $param->{'header'}) { }
0 6 elsif ($param->{'filehead'}) { }
116 0 6 unless (defined $param->{'formula'} or @{$self->{'argv'};})
119 0 6 defined $param->{'formula'} ? :
122 5 1 unless ($param->{'byrow'})
124 0 5 if ($param->{'bycol'} < 1)
131 0 6 $param->{'fromcol'} ? :
140 0 6 unless @{$f->{'data'};}
141 0 6 defined $self->{'fromcol'}[$lastf] ? :
143 0 6 if $self->{'fromcol'}[$lastf] < 0 or $self->{'fromcol'}[$lastf] >= $self->{'files'}[$lastf]->columns
146 0 0 if ($param->{'filehead'} and $param->{'filehead'} > @{$self->{'files'};} || $param->{'filehead'} < 0)
163 0 6 unless (defined $self->{'ff'})
168 0 6 defined $param->{'const'} ? :
180 6 0 unless $self->{'param'}{$_[0]} ne ""
205 0 0 unless $param->{'stdhead'} and not $param->{'justcalc'}
207 0 0 unless ($param->{'justcalc'})
210 0 0 if (defined $self->{'parheader'}) { }
0 0 elsif ($self->{'parfilehead'}) { }
237 0 420 if (not $param->{'strict'} and $_[0] =~ /^\s*$/)
254 420 0 defined $ignore ? :
259 90 330 $nothing || $param->{'justcalc'} ? :
267 0 6 if $self->{'param'}{'justcalc'}