| blib/lib/Catmandu/Importer/XLSX.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 12 | 18 | 66.6 |
| line | true | false | branch |
|---|---|---|---|
| 36 | 8 | 2 | if ($self->header) { } |
| 37 | 1 | 7 | if ($self->fields) { } |
| 1 | 6 | elsif ($self->columns) { } | |
| 50 | 2 | 0 | if (not $self->fields or $self->columns) |
| 58 | 0 | 10 | unless my $xlsx = 'Spreadsheet::XLSX'->new($self->file) |
| 61 | 0 | 10 | unless $xlsx = $xlsx->{'Worksheet'}[$self->worksheet] |
| 91 | 278 | 88 | if ($cell) { } |
| 106 | 8 | 0 | if (not $self->header or $self->columns) { } |
| 111 | 0 | 0 | if ($cell) { } |