Branch Coverage

lib/Text/FixedWidth/Parser.pm
Criterion Covered Total %
branch 27 38 71.0


line true false branch
296 0 0 if ref $value ne 'ARRAY'
321 0 0 if (defined $self->{'time_to_epoch_fields'})
417 0 2 if eof $fh
423 2 0 unless $line =~ /^\s+$/
434 4 18 unless defined $line and defined $string_mapper
447 4 186 if (ref $field_map eq 'HASH' and $field ne 'Rule')
452 26 160 if ref $field_map ne 'ARRAY'
469 10 150 if ($self->{'time_to_epoch_fields'} and $self->{'time_to_epoch_fields'}{$field})
473 10 0 defined $$string_mapper{"${field}Pattern"} ? :
480 0 160 defined $column_val ? :
483 15 145 if !defined($column_val) || $column_val =~ /$is_empty/ and $self->is_empty_undef
547 0 16 if $line =~ /^\s+$/
551 12 4 if $extracted_value
567 14 4 if ref $config_set ne 'ARRAY'
575 12 8 if ($rule) { }
579 12 12 if ref $rule->{$rule_key} ne 'ARRAY'
593 6 6 if $me_obj->ParseToScalar($expression)
624 10 0 if (defined $dt)
628 0 10 unless ($epoch =~ /^\d{1,10}$/o)