Branch Coverage

blib/lib/Text/NumericData/App/txdrows.pm
Criterion Covered Total %
branch 17 30 56.6


line true false branch
75 0 4 $p->{'reduce'} < 1 ? :
80 3 1 if (defined $self->{'match'})
83 0 3 unless defined $self->{'matchfun'}
87 0 4 if (@{$p->{'ranges'};})
91 0 0 unless /^\s*([+\-]?\d*)\s*:\s*([+\-]?\d*)\s*$/
93 0 0 $1 ne '' ? :
0 0 $2 ne '' ? :
110 4 4 if $self->{'matchnohead'}
122 2 14 unless $i >= $p->{'begin'} and $p->{'end'} < 0 || $i <= $p->{'end'}
124 0 14 unless ($self->{'line'} - 1) % $self->{'reduce'} == 0
126 0 14 if (@{$self->{'ranges'};}) { }
130 0 0 if $i >= $_->[0] and $_->[1] < 0 || $i <= $_->[1]
147 2 14 unless ($self->_chosen_line($self->{'line'}))
153 12 2 if (defined $self->{'matchfun'})
155 4 8 if (not $p->{'justmatch'} > 0 && !($self->{'matched'} < $p->{'justmatch'}) and $self->{'matchfun'}->([$self->{'txd'}->line_data($_[0])])) { }