Condition Coverage

blib/lib/Spreadsheet/HTML.pm
Criterion Covered Total %
condition 34 70 48.5


and 3 conditions

line !l l&&!r l&&r condition
50 29 90 0 $args{'theta'} and $args{'flip'}
61 9 1 5 $args{'pinhead'} && !$args{'headless'}
68 9 1 5 $args{'pinhead'} && !$args{'headless'}
74 9 1 5 $args{'pinhead'} && !$args{'headless'}
80 9 1 5 $args{'pinhead'} && !$args{'headless'}
122 93 34 0 $self and $self->{'is_cached'}
169 127 0 0 $args->{'cache'} and $self
127 0 0 $args->{'cache'} and $self and not $self->{'is_cached'}
187 0 0 0 $args{'matrix'} and scalar @{$args{'data'};} > 2
188 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
247 93 34 0 $self and $self->{'is_cached'}
259 127 0 0 $args->{'wrap'} and defined $data->[0][0]

or 2 conditions

line l !l condition
132 492 0 $data->[0][$_] || ''
194 0 0 $args{'group'} || 0
249 0 127 $args->{'worksheet'} ||= 1
269 127 0 scalar @{$data;} || 1
270 127 0 scalar @{$data->[0];} || 1
274 0 0 $row || 0
275 0 0 $col || 0
351 0 0 $_[2] || 1

or 3 conditions

line l !l&&r !l&&!r condition
139 22 0 105 $args->{'headless'} || $args->{'matrix'}
156 36 0 2256 $args->{'encode'} or exists $args->{'encodes'}
182 0 6 113 _tag(%args, 'tag', 'caption') || ()
236 0 30 97 $data ||= @data == 1 ? $data[0] : (@data ? [@data] : undef)
245 0 127 0 $args->{'_auto'} ||= 'HTML::AutoTag'->new('indent', $args->{'indent'}, 'level', $args->{'level'}, 'sorted', $args->{'sorted_attrs'})