Condition Coverage

blib/lib/Spreadsheet/BasicRead.pm
Criterion Covered Total %
condition 10 41 24.3


and 3 conditions

line !l l&&!r l&&r condition
56 0 0 0 defined $args{'log'} and $args{'log'} ne ''
68 0 0 0 defined $args{'fileName'} and $args{'fileName'} ne ''
157 0 0 3 $shtNo >= 0 and $shtNo <= $self->numSheets
185 0 0 3 defined $self->{'ssSheet'} and $currentSheet < $self->numSheets
215 0 0 21 defined $self->{'ssSheet'} and defined $self->{'ssSheet'}{'Cells'}[$r][$c]
236 0 0 0 $headingRow >= $self->{'ssSheet'}{'MinRow'} && $headingRow <= $self->{'ssSheet'}{'MaxRow'}
306 3 0 0 $self->{'skipBlankRows'} && $blank == 0

or 2 conditions

line l !l condition
154 3 0 shift() || 0
171 0 0 $_[1] || 0
312 0 0 $_[1] || 0
318 0 0 $_[0]{'ssSheetRow'} || -1

or 3 conditions

line l !l&&r !l&&!r condition
30 0 1 0 ref $proto || $proto
246 0 0 4 $self->{'headingRow'} || $self->{'ssSheet'}{'MinRow'}
268 0 0 4 $self->{'skipHeadings'} || $self->{'skipBlankRows'} && $blank == 0
283 0 3 7 not defined $self->{'ssSheet'}{'MaxRow'} or $row > $self->{'ssSheet'}{'MaxRow'}