Branch Coverage

blib/lib/Text/NumericData/App/txdfilter.pm
Criterion Covered Total %
branch 40 70 57.1


line true false branch
65 1 6 if ($param->{'origin'})
74 2 5 @{$self->{'argv'};} ? :
75 2 5 @{$self->{'argv'};} ? :
77 0 7 if $param->{'lhex'} ne ""
78 0 7 if $param->{'fdex'} ne ""
101 26 6 unless ($self->{'state'}{'data'})
106 0 26 if (defined $param->{'headlines'} and $self->{'l'} > $param->{'headlines'}) { }
110 0 26 $self->{'lasthead'} ? :
115 0 26 if (not $self->{'lasthead'} and defined $self->{'lhex'})
120 0 26 if (defined $self->{'fdex'})
127 4 22 if ($is_data) { }
142 10 22 if ($self->{'state'}{'data'})
145 10 0 if ($param->{'data'}) { }
153 0 0 do { $c->line_check($_, 1) } ? :
0 10 $param->{'delaftercom'} ? :
156 0 10 if ($_[0] eq $c->{'config'}{'lineend'}) { }
10 0 elsif ($param->{'touchdata'}) { }
158 0 0 if $param->{'noempty'}
164 0 10 if $param->{'index'}
172 0 0 if $param->{'index'}
174 0 0 if $param->{'touchdata'}
179 4 28 if $pre ne ""
186 3 4 unless $self->{'state'}{'data'}
195 0 0 if ($k =~ /^\d+$/)
207 0 7 unless $param->{'head'}
212 1 6 unless ($param->{'touchhead'})
215 1 0 if $pre ne ""
220 2 4 if defined $self->{'title'}
221 2 4 if @{$self->{'titles'};}
223 0 0 if $param->{'index'} and defined $c->{'titles'} and @{$c->{'titles'};}
226 1 5 if ($param->{'origin'}) { }
252 0 5 $param->{'history'} ? :
254 5 0 if (defined $c->{'title'})
260 5 0 unless ($param->{'newhead'})
269 0 0 if @{$c->{'titles'};} or @{$self->{'titles'};} or keys %{$$param{"modtitles"};}