Branch Coverage

blib/lib/Text/NumericData/App/txdderiv.pm
Criterion Covered Total %
branch 41 60 68.3


line true false branch
59 0 3 if $p->{'append'} and $p->{'dualgrid'}
61 0 7 if (@{$self->{'argv'};})
63 0 0 if (@{$self->{'argv'};} == 1) { }
75 0 7 unless valid_column([$p->{'xcol'}])
77 0 7 unless valid_column($p->{'ycol'})
97 0 7 unless ($cols > 0)
111 4 3 if (@{$txd->{'titles'};})
113 2 2 if ($p->{'append'}) { }
115 0 2 unless defined $txd->{'titles'}[$cols - 1]
125 4 3 if (@{$txd->{'raw_header'};})
126 4 3 if (@{$txd->{'titles'};})
129 7 0 if $p->{'sort'}
132 2 5 $p->{'dualgrid'} ? :
133 3 4 if ($p->{'append'}) { }
152 15 0 unless $_ != int $_
0 14 if grep {$_ < 1 unless $_ != int $_;} @{$cols;}
153 0 14 if defined $max and grep {$_ > $max;} @{$cols;}
169 0 18 unless (@{$prev;} and @{$next;})
173 0 0 if @{$next;}
177 0 18 unless $dx > 1e-12
197 0 5 if @{$data;} < 2
202 45 5 $i > 0 ? :
203 45 5 $i < $#{$data;} ? :
208 0 150 if defined $_ and not @{$_;}
210 0 50 unless (defined $this)
215 45 5 defined $prev ? :
216 45 5 defined $next ? :
218 5 45 if (not defined $prev) { }
5 40 elsif (not defined $next) { }
256 5 3 defined $ot ? :