Skip to content

refactor(detector): taxonomy reorganization (#47)#56

Merged
aksOps merged 1 commit into
mainfrom
refactor/detector-taxonomy
Apr 23, 2026
Merged

refactor(detector): taxonomy reorganization (#47)#56
aksOps merged 1 commit into
mainfrom
refactor/detector-taxonomy

Conversation

@aksOps

@aksOps aksOps commented Apr 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Pure-refactor #47: regroup detector subpackages under semantic parent packages. Imports only — zero behavior change.

Moves

From To
detector/java/ detector/jvm/java/
detector/kotlin/ detector/jvm/kotlin/
detector/scala/ detector/jvm/scala/
detector/docs/ detector/markup/
detector/rust/ detector/systems/rust/
detector/cpp/ detector/systems/cpp/
detector/shell/ detector/script/shell/
detector/config/ detector/structured/

Also adds empty detector/sql/ with a package-info.java placeholder — populated by follow-up task #48.

Kept at top level (not moved): auth/, csharp/, frontend/, generic/, go/, iac/, proto/, python/, typescript/, plus all base classes at detector/ root.

Scope

  • git mv used throughout so file history is preserved (follow via git log --follow).
  • Every package declaration in moved files updated.
  • Every import across main + test sources updated (111 file edits across 8 package mappings).
  • No @ComponentScan / basePackages pinned to old paths (Spring scan is io.github.randomcodespace.iq root — unchanged).
  • No reflective FQCN string literals hit.
  • CLAUDE.md source-tree diagram updated to reflect new layout.

Test plan

  • mvn -B clean test -> Tests run: 3278, Failures: 0, Errors: 0, Skipped: 31 / BUILD SUCCESS (63s)
  • mvn -B compile and mvn -B test-compile both clean
  • No behavior change: no edits outside package declarations, imports, and docs tree diagram

No behavior change; all 3278 tests still green.

🤖 Generated with Claude Code

…ructured/sql taxonomy (#47)

Group language/format detectors under semantic parent packages:

- jvm/        -> java, kotlin, scala
- markup/     -> docs (renamed)
- systems/    -> rust, cpp
- script/     -> shell
- structured/ -> config (renamed)
- sql/        -> placeholder (follow-up #48)

Imports only; zero behavior change. All 3278 tests still green.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
5.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@aksOps aksOps merged commit 84e8e65 into main Apr 23, 2026
8 of 9 checks passed
@aksOps aksOps deleted the refactor/detector-taxonomy branch April 26, 2026 05:52
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.

1 participant