blib/lib/Spreadsheet/HTML.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 34 | 70 | 48.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
49 | 29 | 90 | 0 | $args{'theta'} and $args{'flip'} |
60 | 9 | 1 | 5 | $args{'pinhead'} && !$args{'headless'} |
67 | 9 | 1 | 5 | $args{'pinhead'} && !$args{'headless'} |
73 | 9 | 1 | 5 | $args{'pinhead'} && !$args{'headless'} |
79 | 9 | 1 | 5 | $args{'pinhead'} && !$args{'headless'} |
116 | 93 | 34 | 0 | $self and $self->{'is_cached'} |
163 | 127 | 0 | 0 | $args->{'cache'} and $self |
127 | 0 | 0 | $args->{'cache'} and $self and not $self->{'is_cached'} | |
181 | 0 | 0 | 0 | $args{'matrix'} and scalar @{$args{'data'};} > 2 |
182 | 0 | 0 | 0 | not $args{'matrix'} and $args{'tgroups'} > 1 |
0 | 0 | 0 | not $args{'matrix'} and $args{'tgroups'} > 1 and scalar @{$args{'data'};} > 2 | |
241 | 93 | 34 | 0 | $self and $self->{'is_cached'} |
253 | 127 | 0 | 0 | $args->{'wrap'} and defined $data->[0][0] |
line | l | !l | condition |
---|---|---|---|
126 | 492 | 0 | $data->[0][$_] || '' |
188 | 0 | 0 | $args{'group'} || 0 |
243 | 0 | 127 | $args->{'worksheet'} ||= 1 |
263 | 127 | 0 | scalar @{$data;} || 1 |
264 | 127 | 0 | scalar @{$data->[0];} || 1 |
268 | 0 | 0 | $row || 0 |
269 | 0 | 0 | $col || 0 |
345 | 0 | 0 | $_[2] || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 22 | 0 | 105 | $args->{'headless'} || $args->{'matrix'} |
150 | 36 | 0 | 2256 | $args->{'encode'} or exists $args->{'encodes'} |
176 | 0 | 6 | 113 | _tag(%args, 'tag', 'caption') || () |
230 | 0 | 30 | 97 | $data ||= @data == 1 ? $data[0] : (@data ? [@data] : undef) |
239 | 0 | 127 | 0 | $args->{'_auto'} ||= 'HTML::AutoTag'->new('indent', $args->{'indent'}, 'level', $args->{'level'}, 'sorted', $args->{'sorted_attrs'}) |