Branch Coverage

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


line true false branch
182 0 0 if ($cell_ref)
183 0 0 if (not $cell_ref or $cell_ref eq 'EOR')
192 0 0 if ($self->has_max_row and $self->_max_row == $target_row) { }
0 0 elsif ($self->_max_row_position_recorded - 1 >= $target_row + 1) { }
205 0 0 if (defined $position)
214 0 0 unless ($valid_test)
220 0 0 if ($index_result)
221 0 0 if ($self->is_empty_the_end) { }
224 0 0 if ($index_result eq 'EOF')
228 0 0 if ($self->_max_col >= $target_col) { }
235 0 0 if ($index_result eq 'EOF')
243 0 0 if ($cell_ref and $cell_ref eq 'EOF')
250 0 0 &is_HashRef($cell_ref) ? :
0 0 !$cell_ref ? :
271 0 0 if (not $self->_has_new_row_inst) { }
272 0 0 if ($first_pass) { }
277 0 0 if ($self->_max_row_position_recorded > 1)
282 0 0 if (defined $self->_get_row_position($first_data_row)) { }
304 0 0 if ($cell_ref eq 'EOR')
308 0 0 if (not $self->has_max_row or $current_row <= $self->_max_row) { }
319 0 0 if (not $cell_ref and $index_result eq 'EOF')
348 0 0 if (&is_ArrayRef($row_ref)) { }
354 0 0 $cell_ref ? :
375 0 0 if (ref $merge_row and $$merge_row[$cell_ref->{'cell_col'}])
380 0 0 if ($self->is_sheet_hidden) { }
388 0 0 if ($column_attributes and $column_attributes->{'hidden'})
401 0 0 $self->_has_new_row_inst ? :
413 0 0 if ($advance_result and $advance_result eq 'EOF') { }
0 0 elsif ($self->has_max_row) { }
418 0 0 if ($target_row > $self->_max_row) { }
0 0 elsif (defined $target_col and $self->has_max_col and $target_row == $self->_max_row and $target_col > $self->_max_col) { }
430 0 0 if ($self->_has_new_row_inst)
431 0 0 $self->_has_new_row_inst ? :
434 0 0 if (defined $stored_row and $stored_row == $target_row)
444 0 0 if (not $row_found and $self->_max_row_position_recorded - 1 >= $target_row)
450 0 0 if (not defined $row_position) { }
461 0 0 unless ($row_found)
467 0 0 if ($advance_result and $advance_result eq 'EOF')
477 0 0 if ($row_found > 3 or $row_found < 1)
482 0 0 if ($row_found == 3)
489 0 0 unless (defined $target_col)
492 0 0 $row_found == 1 ? :
500 0 0 if ($row_found == 1) { }
501 0 0 if ($target_col > $self->_get_new_last_value_col) { }
502 0 0 $self->is_empty_the_end || $self->_get_new_row_end < $target_col ? :
513 0 0 $self->_max_col < $target_col ? :
0 0 $self->is_empty_the_end ? :
523 0 0 $self->_has_new_row_inst ? :
530 0 0 if ($self->_has_new_row_inst and defined $target_row and $self->_get_new_row_number == $target_row)
540 0 0 if ($self->_max_row_position_recorded)
563 0 0 $target_row < $self->_max_row_position_recorded - 1 ? :
580 0 0 $current_row ? :
581 0 0 $current_position ? :
590 0 0 if ($fast_forward < 0 or $attribute_ref->{'node_depth'} == 0 and $attribute_ref->{'node_name'} eq 'EOF')
599 0 0 if ($fast_forward > 1)
622 0 0 if ($attribute_ref->{'node_name'} ne 'row')
631 0 0 if ($attribute_ref->{'node_name'} eq 'EOF')
639 0 0 if ($result) { }
643 0 0 unless (defined $row_attributes->{'r'})
646 0 0 defined $current_position ? :
650 0 0 if ($current_row > $self->_max_row_position_recorded - 1)
655 0 0 exists $row_attributes->{'hidden'} ? :
680 0 0 exists $row_ref->{'c'} ? :
0 0 exists $row_ref->{'list'} ? :
681 0 0 if exists $row_ref->{'c'}
693 0 0 if (exists $cell->{'t'}) { }
0 0 elsif (exists $cell->{'v'}) { }
694 0 0 if ($cell->{'t'} eq 's') { }
0 0 elsif ($cell->{'t'} eq 'str') { }
698 0 0 $self->_has_shared_strings_file ? :
701 0 0 if (&is_HashRef($position)) { }
703 0 0 unless $cell->{'rich_text'}
720 0 0 if $cell->{'cell_xml_value'} and $cell->{'cell_xml_value'} ne ''
723 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) { }
724 0 0 unless exists $cell->{'cell_xml_value'} and defined $cell->{'cell_xml_value'}
733 0 0 if ($self->get_values_only and !defined($cell->{'cell_xml_value'}) || length $cell->{'cell_xml_value'} == 0) { }
737 0 0 unless exists $cell->{'cell_type'}
738 0 0 if $row_ref->{'hidden'}
741 0 0 if $cell->{'f'}
744 0 0 unless defined $reported_column
756 0 0 if (defined $row_ref->{'r'}) { }
761 0 0 if ($alt_ref) { }
765 0 0 $row_ref->{'spans'} ? :
769 0 0 if (not $self->has_max_col or $self->_max_col < $new_ref->{'row_value_cells'}[-1]{'cell_col'})
774 0 0 if (defined $new_ref->{'row_span'}[1] and $self->_max_col < $new_ref->{'row_span'}[1]) { }
808 0 0 unless ($alt_ref)
813 0 0 if (&is_Int($current_row))
835 0 0 if $current_row and $current_row eq 'EOF'
852 0 0 if ($self->is_empty_the_end)
884 0 0 if ($node_name eq 'dimension' or $self->advance_element_position('dimension')) { }
892 0 0 $self->_starts_at_the_edge ? :
894 0 0 $end ? :
902 0 0 if defined $end_column
903 0 0 if defined $end_row
913 0 0 if ($node_name eq 'cols' or $self->advance_element_position('cols')) { }
924 0 0 if ($has_column_data)
930 0 0 unless &is_HashRef($definition)
934 0 0 if defined $definition->{$_}
954 0 0 if ($node_name and $node_name eq 'mergeCells' or $self->advance_element_position('mergeCells')) { }
960 0 0 if ($found_merges)
978 0 0 if ($start_col > $end_col)
1004 0 0 $column_format && $column_format->{'hidden'} ? :