Condition Coverage

lib/Spreadsheet/Reader/ExcelXML/Worksheet.pm
Criterion Covered Total %
condition 84 129 65.1


and 3 conditions

line !l l&&!r l&&r condition
273 4 8 0 $column_formats && exists $column_formats->{'hidden'}
299 4 10 0 $row_formats && exists $row_formats->{'hidden'}
344 0 46 7 $self->has_max_col && $requested_column > $self->max_col
356 88 78 190 $current_column and &is_HashRef($current_column)
385 138 26 2 $return and not $self->boundary_flag_setting
414 30 12 30 $self->get_values_only and &is_HashRef($next_cell)
42 30 0 $self->get_values_only and &is_HashRef($next_cell) and !(exists $next_cell->{'cell_xml_value'} || exists $next_cell->{'cell_unformatted'}) || exists $next_cell->{'cell_xml_value'} && length $next_cell->{'cell_xml_value'} == 0
443 16 0 13 $self->get_values_only and &is_HashRef($next_cell)
16 13 0 $self->get_values_only and &is_HashRef($next_cell) and !(exists $next_cell->{'cell_xml_value'} || exists $next_cell->{'cell_unformatted'}) || exists $next_cell->{'cell_xml_value'} && length $next_cell->{'cell_xml_value'} == 0
490 14 23 111 &is_Int($current_row) && $current_row == $row
507 354 0 0 $self->get_values_only and &is_HashRef($cell)
354 0 0 $self->get_values_only and &is_HashRef($cell) and !(exists $cell->{'cell_xml_value'} || exists $cell->{'cell_unformatted'}) || exists $cell->{'cell_xml_value'} && length $cell->{'cell_xml_value'} == 0
618 10 2 2 defined $row and $row <= $self->get_last_header_row
636 10 0 0 $min_col && $min_col > $start
637 0 0 10 $max_col && $max_col < $end
667 3 0 0 &is_HashRef($input_args[0]) and @input_args == 1
767 41 0 573 exists $result->{'cell_xml_value'} and defined $result->{'cell_xml_value'}
768 594 0 20 exists $result->{'cell_unformatted'} and defined $result->{'cell_unformatted'}
772 20 594 0 not exists $return->{'cell_unformatted'} and exists $return->{'cell_xml_value'}
41 519 34 not exists $return->{'cell_unformatted'} and exists $return->{'cell_xml_value'} and $return->{'cell_xml_value'} =~ /^(\-)?((\d{1,3})?(\.\d+)?)[Ee](\-)?(\d+)$/u
560 34 0 not exists $return->{'cell_unformatted'} and exists $return->{'cell_xml_value'} and $return->{'cell_xml_value'} =~ /^(\-)?((\d{1,3})?(\.\d+)?)[Ee](\-)?(\d+)$/u and $2
1 33 0 not exists $return->{'cell_unformatted'} and exists $return->{'cell_xml_value'} and $return->{'cell_xml_value'} =~ /^(\-)?((\d{1,3})?(\.\d+)?)[Ee](\-)?(\d+)$/u and $2 and $6
0 2 31 not exists $return->{'cell_unformatted'} and exists $return->{'cell_xml_value'} and $return->{'cell_xml_value'} =~ /^(\-)?((\d{1,3})?(\.\d+)?)[Ee](\-)?(\d+)$/u and $2 and $6 and $6 < 309
830 51 563 0 not exists $return->{'cell_unformatted'} and exists $result->{'cell_xml_value'}
839 66 0 548 $return->{'cell_unformatted'} and length $return->{'cell_unformatted'} > 0
849 60 0 505 $return->{'cell_xml_value'} and length $return->{'cell_xml_value'} > 0
901 517 0 48 exists $result->{'cell_formula'} and defined $result->{'cell_formula'}
517 0 48 exists $result->{'cell_formula'} and defined $result->{'cell_formula'} and length $result->{'cell_formula'} > 0
915 172 198 0 $header and $exclude_header
370 0 0 $header and $exclude_header and $header eq $exclude_header
929 330 28 0 $scientific_format and !exists $format->{'cell_coercion'} || $format->{'cell_coercion'}->display_name eq 'Excel_number_0' || $format->{'cell_coercion'}->display_name eq 'Excel_text_0'
962 42 62 22 $return->{'cell_type'} eq 'Numeric' and $format->{$header}->name =~ /date/iu
984 336 28 3 $scientific_format and not exists $return->{'cell_coercion'}

or 3 conditions

line l !l&&r !l&&!r condition
273 0 0 12 $column < $self->_min_col || $self->_max_col < $column
299 0 2 14 $code_row < $self->_min_row || $self->_max_row < $code_row
414 2 0 28 !(exists $next_cell->{'cell_xml_value'} || exists $next_cell->{'cell_unformatted'}) || exists $next_cell->{'cell_xml_value'} && length $next_cell->{'cell_xml_value'} == 0
425 6 28 42 not $next_cell or $next_cell eq 'EOR'
443 1 0 12 !(exists $next_cell->{'cell_xml_value'} || exists $next_cell->{'cell_unformatted'}) || exists $next_cell->{'cell_xml_value'} && length $next_cell->{'cell_xml_value'} == 0
507 0 0 0 !(exists $cell->{'cell_xml_value'} || exists $cell->{'cell_unformatted'}) || exists $cell->{'cell_xml_value'} && length $cell->{'cell_xml_value'} == 0
629 0 2 10 not $array_ref or $array_ref eq 'EOF'
683 0 0 9 $key eq '' or not $key =~ /[A-Z]{0,3}(\d*)/u
929 0 10 18 !exists $format->{'cell_coercion'} || $format->{'cell_coercion'}->display_name eq 'Excel_number_0' || $format->{'cell_coercion'}->display_name eq 'Excel_text_0'
949 0 0 198 $return->{'cell_coercion'} // $format->{'cell_coercion'}