Branch Coverage

lib/Spreadsheet/XLSX/Reader/LibXML/XMLReader/WorksheetToRow.pm
Criterion Covered Total %
branch 0 144 0.0


line true false branch
185 0 0 if (not $self->_has_new_row_inst) { }
0 0 elsif ($self->_get_new_row_number < $target_row) { }
0 0 elsif ($self->_get_new_row_number == $target_row) { }
0 0 elsif ($self->_has_old_row_inst) { }
197 0 0 if ($target_col > $max_value_col) { }
198 0 0 $self->is_empty_the_end || $self->_get_new_row_end < $target_col ? :
202 0 0 if ($cell_ref and $cell_ref eq 'EOR')
204 0 0 if $index_result eq 'EOF'
207 0 0 if ($self->_get_old_row_number < $target_row) { }
0 0 elsif ($self->_get_old_row_number == $target_row) { }
215 0 0 if ($target_col > $max_value_col) { }
216 0 0 $self->is_empty_the_end || $self->_get_old_row_end < $target_col ? :
233 0 0 if (not $index_result) { }
0 0 elsif (not $cell_ref and $index_result =~ /^EO(F|R)$/) { }
235 0 0 $self->_max_col < $target_col ? :
0 0 $self->is_empty_the_end ? :
244 0 0 $cell_ref =~ /^EO(F|R)$/ ? :
0 0 $self->is_empty_the_end && $max_value_col < $target_col ? :
0 0 $cell_ref ? :
265 0 0 if (not $self->_has_new_row_inst) { }
273 0 0 if ($cell_ref eq 'EOR')
280 0 0 if (not $cell_ref and $index_result =~ /^EOF/)
307 0 0 if (not $self->_has_new_row_inst) { }
0 0 elsif ($self->_get_new_row_number < $target_row) { }
0 0 elsif ($self->_get_new_row_number == $target_row) { }
0 0 elsif ($self->_has_old_row_inst) { }
320 0 0 if ($self->_get_old_row_number < $target_row) { }
0 0 elsif ($self->_get_old_row_number == $target_row) { }
341 0 0 if (not $index_result) { }
0 0 elsif (not $row_ref and $index_result eq 'EOF') { }
352 0 0 $cell_ref ? :
370 0 0 if (ref $merge_row and $$merge_row[$cell_ref->{'cell_col'}])
375 0 0 if ($self->is_sheet_hidden) { }
384 0 0 if ($column_attributes and $column_attributes->{'hidden'})
410 0 0 if ($node_name eq 'row') { }
0 0 elsif ($self->advance_element_position('row')) { }
429 0 0 exists $row_ref->{'c'} ? :
0 0 exists $row_ref->{'list'} ? :
430 0 0 if exists $row_ref->{'c'}
442 0 0 if (exists $cell->{'t'}) { }
0 0 elsif (exists $cell->{'v'}) { }
443 0 0 if ($cell->{'t'} eq 's') { }
0 0 elsif ($cell->{'t'} eq 'str') { }
447 0 0 $self->_has_shared_strings_file ? :
450 0 0 if (&is_HashRef($position)) { }
452 0 0 unless $cell->{'rich_text'}
465 0 0 unless defined $cell->{'cell_xml_value'}
470 0 0 if $cell->{'cell_xml_value'} and $cell->{'cell_xml_value'} ne ''
473 0 0 if ($self->get_empty_return_type eq 'empty_string') { }
0 0 elsif (not defined $cell->{'cell_xml_value'} or $cell->{'cell_xml_value'} and length $cell->{'cell_xml_value'} == 0) { }
474 0 0 unless exists $cell->{'cell_xml_value'}
482 0 0 if ($self->get_values_only and !defined($cell->{'cell_xml_value'}) || length $cell->{'cell_xml_value'} == 0) { }
486 0 0 unless exists $cell->{'cell_type'}
487 0 0 if $row_ref->{'hidden'}
490 0 0 if $cell->{'f'}
493 0 0 unless defined $reported_column
500 0 0 $row_ref->{'hidden'} ? :
502 0 0 if ($alt_ref) { }
508 0 0 $row_ref->{'spans'} ? :
515 0 0 if $self->_has_new_row_inst
534 0 0 $row_node_ref ? :
546 0 0 if ($node_name eq 'dimension' or $self->advance_element_position('dimension')) { }
554 0 0 $self->_starts_at_the_edge ? :
556 0 0 $end ? :
577 0 0 if ($node_name eq 'cols' or $self->advance_element_position('cols')) { }
588 0 0 if ($has_column_data)
594 0 0 unless &is_HashRef($definition)
598 0 0 if defined $definition->{$_}
618 0 0 if ($node_name and $node_name eq 'mergeCells' or $self->advance_element_position('mergeCells')) { }
624 0 0 if ($found_merges)
642 0 0 if ($start_col > $end_col)
668 0 0 $column_format && $column_format->{'hidden'} ? :