Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel analyzer improvements #8102

Merged
merged 8 commits into from
Jan 18, 2024
Merged

Excel analyzer improvements #8102

merged 8 commits into from
Jan 18, 2024

Conversation

gbp
Copy link
Member

@gbp gbp commented Jan 17, 2024

What does this do?

Excel analyzer improvements.

  1. Look for data models
  2. Look for named ranges
  3. Store counts of matches instead of true/false
  4. Count hidden non-blank cells in rows/columns.

Why was this needed?

Better detection of hidden data in Excel spreadsheets.


[skip changelog]

Move metadata parsing into its own class, this saves passing around the
ZIP file to individual methods.
Lets have keys and method alphabetical.
Extract workbook handling into a helper as we're going to end up
querying the workbook more.
Unable to create a fixture file with data model embedded by these are
stored as `xl/model/item.data` files.
Can be a good indication along with external links of hidden data.
Instead of parsing XML ourselves use this gem which will also allow us
to look into cell contents.
Instead of storing if present we can store how many matches are present.
We don't care about blank cells in hidden rows and columns.
@gbp gbp merged commit 46549dd into develop Jan 18, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant