blib/lib/Fsdb/Filter/dbrowaccumulate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 0 | 26 | 0.0 |
line | true | false | branch |
---|---|---|---|
221 | 0 | 0 | unless $self->get_options(\@argv, 'help|?', sub { pod2usage(1); } , 'man', sub { pod2usage(-'verbose', 2); } , 'autorun!', \$self->{'_autorun'}, 'c|column=s', \$self->{'_target_column'}, 'C|increment=s', \$self->{'_increment'}, 'close!', \$self->{'_close'}, 'd|debug+', \$self->{'_debug'}, 'i|input=s', sub { $self->parse_io_option('input', @_); } , 'I|initial-value=s', \$self->{'_initial_value'}, 'log!', \$self->{'_logprog'}, 'N|new-name=s', \$self->{'_destination_column'}, 'o|output=s', sub { $self->parse_io_option('output', @_); } ) |
237 | 0 | 0 | unless defined $self->{'_target_column'} or defined $self->{'_increment'} |
239 | 0 | 0 | if defined $self->{'_target_column'} and defined $self->{'_increment'} |
243 | 0 | 0 | if (defined $self->{'_target_column'}) |
246 | 0 | 0 | unless defined $self->{'_target_coli'} |
251 | 0 | 0 | if defined $self->{'_increment'} and not $self->{'_increment'} =~ /$Fsdb::Filter::dbrowaccumulate::is_numeric_regexp/ |
253 | 0 | 0 | unless $self->{'_initial_value'} =~ /$Fsdb::Filter::dbrowaccumulate::is_numeric_regexp/ |
257 | 0 | 0 | unless $self->{'_out'}->col_create($self->{'_destination_column'}) |
277 | 0 | 0 | if (defined $self->{'_target_coli'}) { } |
0 | 0 | elsif (defined $self->{'_increment'}) { } | |
287 | 0 | 0 | defined $self->{'_initial_value'} ? : |
301 | 0 | 0 | if $self->{'_debug'} |
303 | 0 | 0 | if $@ |