Condition Coverage

blib/lib/Excel/ValueReader/XLSX/Backend/Regex.pm
Criterion Covered Total %
condition 34 41 82.9


and 3 conditions

line !l l&&!r l&&r condition
51 11 2 2 $date1904 && $date1904 =~ /^(1|true)$/u
176 22 834 2099210 $want_iterator and @rows > 1
187 918 20 808 $want_iterator and @rows > 1
218 1115 302 30 not defined $val and $inner
219 302 1141 4 $val and $cell_type eq "str"
222 54 605 788 $has_date_formatter and $style
659 302 486 $has_date_formatter and $style and &looks_like_number($val)
907 0 486 $has_date_formatter and $style and &looks_like_number($val) and $val >= 0
257 0 0 12 $xml =~ /<table (.*?)>/gu and my $table_attrs = _xml_attrs($1)
266 10 0 2 exists $table_attrs->{'headerRowCount'} && !$table_attrs->{'headerRowCount'}

or 2 conditions

line l !l condition
206 2459 1421 $cell_type //= ""

or 3 conditions

line l !l&&r !l&&!r condition
182 1029 717 0 $2 // $row_num + 1
193 3856 24 0 $given_row //= $row_num
201 3841 15 0 $Excel::ValueReader::XLSX::A1_to_num_memoized{$col_A1} //= "Excel::ValueReader::XLSX"->A1_to_num($col_A1)