Condition Coverage

lib/Spreadsheet/Reader/ExcelXML/XMLReader/FileWorksheet.pm
Criterion Covered Total %
condition 55 78 70.5


and 3 conditions

line !l l&&!r l&&r condition
138 11 0 0 not exists $cell->{'f'} and $v_node =~ /\=/
160 159 30 0 $self->are_spaces_empty and $cell->{'cell_xml_value'}
4 18 8 $self->are_spaces_empty and $cell->{'cell_xml_value'} and $cell->{'cell_xml_value'} =~ /^\s+$/
169 2 0 270 $cell->{'cell_xml_value'} and $cell->{'cell_xml_value'} ne ''
172 1 237 0 $cell->{'cell_xml_value'} and length $cell->{'cell_xml_value'} == 0
173 13 207 0 exists $cell->{'cell_xml_value'} and defined $cell->{'cell_xml_value'}
195 0 190 3 $last_value_column && $new_ref->{'row_span'}[1] < $last_value_column
209 806 96 0 $merge_range and $merge_range->[$col]
216 0 0 4 defined $column_to_cell_translations->[$col] and $$alt_ref[$column_to_cell_translations->[$col]]
226 0 8 0 not exists $primary_ref->{$key} and exists $$alt_ref[$column_to_cell_translations->[$col]]{$key}
251 403 0 465 defined $column_to_cell_translations->[$col] and $$alt_ref[$column_to_cell_translations->[$col]]
258 149 45 0 $self->get_custom_column_data($col) && exists $self->get_custom_column_data($col)->{'hidden'} && $self->get_custom_column_data($col)->{'hidden'}
267 403 0 499 defined $column_to_cell_translations->[$col] and $$alt_ref[$column_to_cell_translations->[$col]]
279 838 42 22 $self->should_skip_hidden and $new_cell
880 22 0 $self->should_skip_hidden and $new_cell and exists $new_cell->{'cell_hidden'}
289 825 42 20 $self->get_values_only and $new_cell
867 16 4 $self->get_values_only and $new_cell and not exists $new_cell->{'cell_xml_value'}
298 403 0 480 $new_cell and keys %$new_cell > 0
431 2 64 0 &is_HashRef($definition) and &is_HashRef($definition->{'attributes'})

or 2 conditions

line l !l condition
41 3 204 $increment //= 1
94 6 0 $self->_min_col // 1
3 3 $self->_max_col // 1

or 3 conditions

line l !l&&r !l&&!r condition
172 41 0 238 not defined $cell->{'cell_xml_value'} or $cell->{'cell_xml_value'} and length $cell->{'cell_xml_value'} == 0
251 34 0 868 $new_cell or defined $column_to_cell_translations->[$col] and $$alt_ref[$column_to_cell_translations->[$col]]
318 6 0 180 not $self->has_max_col or $last_value_column > $self->_max_col
330 6 20 160 not $self->has_max_row or $new_ref->{'row_number'} > $self->_max_row
336 0 3 183 not $self->has_max_col or $new_ref->{'row_span'}[1] > $self->_max_col