Condition Coverage

blib/lib/Excel/ValueWriter/XLSX.pm
Criterion Covered Total %
condition 41 67 61.1


and 2 conditions

line l !l condition
254 0 1 0 ++$row_num and $xml .= qq[]

and 3 conditions

line !l l&&!r l&&r condition
118 0 8 1 @_ == 5 and (ref $_[4] // "") eq "HASH"
148 4 2 21 $table_name and $headers
172 0 25 2 $ref and $ref eq "CODE"
0 11 14 $ref and $ref eq "ARRAY"
0 0 11 builtin::blessed($rows_maker) and $rows_maker->isa("DBI::st")
0 0 0 builtin::blessed($rows_maker) and $rows_maker->isa("DBIx::DataModel::Statement")
229 1340 0 365874 defined $val and length $val
234 10043 1 355830 &looks_like_number($val) && !($val =~ /^\pL/u)
10028 2 14 $date_regex && $val =~ /$date_regex/u && is_valid_date(\%+, \$n_days)
8 10018 4 $bool_regex && $val =~ /$bool_regex/u
254 4 22 1 $table_name and $row_num == 1

or 2 conditions

line l !l condition
118 9 0 ref $_[4] // ""
279 0 4 $attrs{'customWidth'} //= 1

or 3 conditions

line l !l&&r !l&&!r condition
118 18 1 8 @_ < 5 or @_ == 5 and (ref $_[4] // "") eq "HASH"
174 2 0 0 $$headers_ref //= &$iterator()
179 6 4 4 $$headers_ref //= &$iterator()
185 0 11 0 $$headers_ref //= $rows_maker->{'NAME'}
190 0 0 0 $$headers_ref //= $rows_maker->sth->{'NAME'}
225 366545 669 0 $col_letters[$col] //= do { my $prev_letter = $col_letters[$col - 1]; ++$prev_letter }
278 0 8 0 $attrs{$_} //= $next_col_num
321 3812 6206 6 $self->{'shared_strings'}{$string} //= $self->{'last_string_id'}++
398 0 0 0 ref $target || $target