Skip to content

AB#32008 Reduce Office extraction Sonar complexity#2088

Merged
JamesPasta merged 2 commits intodevfrom
feature/AB#32008-AddOfficeExtractionSupport-SonarFixes
Mar 6, 2026
Merged

AB#32008 Reduce Office extraction Sonar complexity#2088
JamesPasta merged 2 commits intodevfrom
feature/AB#32008-AddOfficeExtractionSupport-SonarFixes

Conversation

@jacobwillsmith
Copy link
Copy Markdown
Contributor

Pull request overview

This pull request addresses SonarQube maintainability findings in Office document text extraction by simplifying row/sheet processing flow and reducing method complexity in TextExtractionService.

The update keeps extraction behavior and limits unchanged while making the code easier to reason about and maintain.

Changes:

  • Refactored Excel extraction flow into focused helper methods to reduce cognitive complexity
  • Replaced nested conditional expression logic with explicit separator assignment flow
  • Removed unnecessary using directives and aligned implementation with SonarQube recommendations

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 458
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@jacobwillsmith jacobwillsmith marked this pull request as ready for review March 4, 2026 23:42
@jacobwillsmith jacobwillsmith marked this pull request as draft March 4, 2026 23:43
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 4, 2026

🧪 Unit Test Results (Parallel Execution)

Tests

📊 Summary

Result Count
✅ Passed 458
❌ Failed 0
⚠️ Skipped 0

📄 HTML Reports

  • Merged Tests (HTML): Included in artifacts
    Generated automatically by CI.

@jacobwillsmith jacobwillsmith marked this pull request as ready for review March 4, 2026 23:59
@JamesPasta JamesPasta merged commit 7ec9247 into dev Mar 6, 2026
22 checks passed
@JamesPasta JamesPasta deleted the feature/AB#32008-AddOfficeExtractionSupport-SonarFixes branch March 6, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants