Condition Coverage

blib/lib/Excel/ValueWriter/XLSX.pm
Criterion Covered Total %
condition 26 53 49.0


and 3 conditions

line !l l&&!r l&&r condition
104 0 13 2 $ref and $ref eq "CODE"
0 0 13 $ref and $ref eq "ARRAY"
0 0 0 &blessed($rows_maker) and $rows_maker->isa("DBI::st")
0 0 0 &blessed($rows_maker) and $rows_maker->isa("DBIx::DataModel::Statement")
158 2 0 300705 defined $val and length $val
164 676 1 300028 &looks_like_number($val) && !($val =~ /^\pL/u)
0 663 14 $date_regex && $val =~ /$date_regex/u
8 651 4 $bool_regex && $val =~ /$bool_regex/u
184 4 2 9 $table_name and $row_num
288 0 0 2 $name and $formula

or 2 conditions

line l !l condition
217 0 0 $sheet_prefix //= "S."

or 3 conditions

line l !l&&r !l&&!r condition
106 2 0 0 $headers //= &$next_row()
111 5 4 4 $headers //= &$next_row()
117 0 0 0 $headers //= $rows_maker->{'NAME'}
120 0 0 0 $headers //= $rows_maker->sth->{'NAME'}
154 300092 615 0 $col_letters[$col] //= do { my $prev_letter = $col_letters[$col - 1]; ++$prev_letter }
238 4 648 5 $self->{'shared_strings'}{$string} //= $self->{'last_string_id'}++
323 0 0 0 ref $target || $target