Branch Coverage

blib/lib/Text/NumericData/App/txdfilter.pm
Criterion Covered Total %
branch 38 62 61.2


line true false branch
64 1 6 if ($param->{'origin'})
73 2 5 @{$self->{'argv'};} ? :
74 2 5 @{$self->{'argv'};} ? :
76 0 7 if $param->{'lhex'} ne ''
77 0 7 if $param->{'fdex'} ne ''
100 26 6 unless ($self->{'state'}{'data'})
103 0 26 $self->{'lasthead'} ? :
108 0 26 if (not $self->{'lasthead'} and defined $self->{'lhex'})
113 0 26 if (defined $self->{'fdex'})
119 4 22 if (not defined $param->{'headlines'} and $is_data or defined $param->{'headlines'} and ++$self->{'l'} > $param->{'headlines'}) { }
134 10 22 if ($self->{'state'}{'data'})
137 10 0 if ($param->{'data'}) { }
145 0 0 do { $c->line_check($_, 1) } ? :
0 10 $param->{'delaftercom'} ? :
148 0 10 if ($_[0] eq $c->{'config'}{'lineend'}) { }
10 0 elsif ($param->{'touchdata'}) { }
150 0 0 if $param->{'noempty'}
160 0 0 if $param->{'touchdata'}
165 4 28 if $pre ne ''
172 3 4 unless $self->{'state'}{'data'}
181 0 0 if ($k =~ /^\d+$/)
193 0 7 unless $param->{'head'}
198 1 6 unless ($param->{'touchhead'})
201 1 0 if $pre ne ''
206 2 4 if defined $self->{'title'}
207 2 4 if @{$self->{'titles'};}
210 1 5 if ($param->{'origin'}) { }
236 0 5 $param->{'history'} ? :
238 5 0 if (defined $c->{'title'})
244 5 0 unless ($param->{'newhead'})
253 0 0 if @{$c->{'titles'};} or @{$self->{'titles'};} or keys %{$$param{'modtitles'};}