blib/lib/Data/TableReader/Decoder/Spreadsheet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 23 | 43.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
23 | 1 | 0 | 1 | $self->sheet and ref $self->sheet |
1 | 0 | 1 | $self->sheet and ref $self->sheet and ref($self->sheet)->can('get_cell') | |
48 | 0 | 6 | 0 | $s && ref $s->{'Cells'} eq 'ARRAY' && $#{$$s{'Cells'};} < $rowmax |
68 | 0 | 0 | 0 | ($x = $sheet->get_cell($row, $_)) && $x->value |
73 | 17 | 6 | 48 | ($x = $sheet->get_cell($row, $_)) && $x->value |
132 | 0 | 0 | 1 | defined $f->{'sheets'}[$f->{'sheet_idx'} + 1] && $self->seek([$f->{'sheet_idx'} + 1]) |
line | l | !l | condition |
---|---|---|---|
102 | 0 | 0 | ${$f->{'rowmax_ref'};} || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
113 | 2 | 0 | 0 | $to ||= $f->{'origin'} |