Branch Coverage

blib/lib/Excel/ValueReader/XLSX.pm
Criterion Covered Total %
branch 28 40 70.0


line true false branch
85 140 16 if $xl_date_format =~ /[dy]/
86 24 132 if $xl_date_format =~ /[hs]/
87 0 156 unless my $strftime_format = $formats[$ix]
142 114 42 if ($base_year == 1900)
144 84 30 $is_after_february_1900 ? :
158 2 154 if ($ms == 999)
160 0 2 if ($s == 60)
162 0 0 if ($m == 60)
172 0 156 unless $date_formatter //= $self->date_formatter
207 10 0 @_ == 1 ? :
210 10 0 if (my $table_name = delete $args{'name'})
212 0 10 unless @args{@table_info_fields} = @{$self->backend->table_info->{$table_name};}
218 0 10 if @invalid_args
224 10 0 if $args{'ref'}
230 8 2 unless $args{'no_headers'}
235 0 10 if grep {not defined $_;} @cols
244 4 6 wantarray ? :
253 0 10 unless my($col1, $row1, $col2, $row2) = $ref =~ /^([A-Z]+)(\d+):([A-Z]+)(\d+)$/
257 8 2 if ($row1 > 1 or $row2 < @$values)
263 6 4 if ($col_nums[0] > 1)