Skip to content

Tech/fix unifiedparser tests for treesitterlibrary#4416

Merged
ChristianHuehn merged 5 commits intomainfrom
tech/fix-unifiedparser-tests-for-treesitterlibrary
Jan 22, 2026
Merged

Tech/fix unifiedparser tests for treesitterlibrary#4416
ChristianHuehn merged 5 commits intomainfrom
tech/fix-unifiedparser-tests-for-treesitterlibrary

Conversation

@ChristianHuehn
Copy link
Collaborator

@ChristianHuehn ChristianHuehn commented Dec 19, 2025

Please read the CONTRIBUTING.md before opening a PR.

Closes: #

Description

Descriptive pull request text, answering:

  • What problem/issue are you fixing?
  • What does this PR implement and how?

Definition of Done

A PR is only ready for merge once all the following acceptance criteria are fulfilled:

  • Changes have been manually tested
  • All TODOs related to this PR have been closed
  • There are automated tests for newly written code and bug fixes
  • All bugs discovered while working on this PR have been submitted as issues (if not already an open issue)
  • Documentation (GH-pages, analysis/visualization READMEs, parser READMEs, --help, etc.) has been updated (almost always necessary except for bug fixes)
  • CHANGELOG.md has been updated

Screenshots or gifs

christian-huehn-mw and others added 5 commits December 10, 2025 19:29
Replace language-specific collectors and metric calculators with TreesitterLibrary dependency. This removes ~45 files of duplicated logic and delegates metric calculation to the external library.

- Remove all language-specific collectors (Java, Kotlin, Python, etc.)
- Remove all metric node types and calculators
- Add TreeSitterLibraryCollector as unified adapter
- Update all 19 test files to use new API

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…itPack

Switch from local composite build to published JitPack dependency (v0.2.0) and add Vue language support to UnifiedParser.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add dedicated test class for TreeSitterAdapter covering all public
methods including language mapping, file extension handling, and
error cases for unsupported extensions.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sonarqubecloud
Copy link

@ChristianHuehn ChristianHuehn merged commit 105ce11 into main Jan 22, 2026
5 checks passed
@ChristianHuehn ChristianHuehn deleted the tech/fix-unifiedparser-tests-for-treesitterlibrary branch January 22, 2026 15:23
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