Condition Coverage

blib/lib/Excel/ValueReader/XLSX/Backend/LibXML.pm
Criterion Covered Total %
condition 41 54 75.9


and 2 conditions

line l !l condition
192 0 35 $xml_reader->finish and last NODE

and 3 conditions

line !l l&&!r l&&r condition
54 274 11 4 $reader->name eq "workbookPr" and my $date_attr = $reader->getAttribute("date1904")
270 8 7 $reader->name eq "workbookView" and my $active_attr = $reader->getAttribute("activeTab")
93 130 0 256 $xml_reader->name eq $name and $xml_reader->depth == $depth
110 0 0 76 $id and $code
0 2 74 $id and $code and $code =~ /$date_style_regex/u
184 22 834 2099210 $want_iterator and @rows > 1
192 22165 44 35 $node_name eq "sheetData" and $node_type == 15
202 918 20 808 $want_iterator and @rows > 1
236 30 0 0 $seen_node eq "t" and $cell_type eq "inlineStr"
252 52 605 488 $has_date_formatter and $cell_style
657 2 486 $has_date_formatter and $cell_style and &looks_like_number($val)
607 0 486 $has_date_formatter and $cell_style and &looks_like_number($val) and $val >= 0

or 2 conditions

line l !l condition
206 3856 24 $xml_reader->getAttribute("r") // ""
234 2489 1119 $cell_type //= ""

or 3 conditions

line l !l&&r !l&&!r condition
60 2 0 2 $date_attr eq 1 or $date_attr eq "true"
197 1744 2 0 $xml_reader->getAttribute("r") // $row_num + 1
209 3856 24 0 $given_row //= $row_num
216 3856 0 0 $Excel::ValueReader::XLSX::A1_to_num_memoized{$col_A1} //= "Excel::ValueReader::XLSX"->A1_to_num($col_A1)