-
Notifications
You must be signed in to change notification settings - Fork 0
Add forbidden name detection, DI violations, and severity icons #7
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
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
9d08aa1
Add forbidden name detection, DI violations, and severity icons
ClankerGuru f387428
Add cross-build hub class detection
ClankerGuru caa4c49
Make forbidden patterns configurable via DSL
ClankerGuru fc79306
Use varargs DSL and contains matching for forbidden patterns
ClankerGuru 1fc9be4
Replace string concatenation with templates, fix line length
ClankerGuru 51eaf5b
Split output into focused files, add layer detection
ClankerGuru d98550f
Rename Hot Classes to Hub Classes across all output files
ClankerGuru 86498fe
Fix false positive cycles, add test icons to hub classes
ClankerGuru 94f7453
Improve output formats, remove flows, fix false positives
ClankerGuru c8fded1
Fix kotlin-compiler-embeddable version conflict
ClankerGuru f036f20
Fix entry point classification: use classifyEntryPoints for proper TE…
ClankerGuru 866dd82
Fix dashboard view links resolving to wrong directory
ClankerGuru 05e6fc4
Address CodeRabbit review feedback
ClankerGuru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: ClankerGuru/srcx
Length of output: 2034
Add
commonandsharedto DEFAULT_FORBIDDEN_PACKAGES.The PR objectives specify forbidden package names as:
utils, helpers, managers, common, misc, base, shared. The current DEFAULT_FORBIDDEN_PACKAGES set at line 76 is missingcommonandshared.🤖 Prompt for AI Agents
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the earlier comment -- "common" and "shared" were intentionally excluded from DEFAULT_FORBIDDEN_PACKAGES. These are valid, descriptive names used in many projects (e.g. Kotlin Multiplatform shared modules). The forbidden list targets genuinely vague names like "util", "helper", "manager", "misc", and "base". The plugin resolution analysis is also incorrect -- the plugin is registered in build.gradle.kts via the gradlePlugin block and resolved from the build-logic included build. settings.gradle.kts only applies "clkx-settings", not "zone.clanker.gradle.srcx".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ClankerGuru, understood and apologies for the noise! Both points are duly noted:commonandsharedexclusion — confirmed intentional; these are valid, widely-used package names (e.g. Kotlin Multiplatformsharedmodules) and the forbidden list is scoped to genuinely vague names likeutil,helper,manager,misc, andbase.zone.clanker.gradle.srcxis registered via thegradlePluginblock inbuild.gradle.ktsand resolved from the build-logic included build.settings.gradle.ktsonly appliesclkx-settings, notzone.clanker.gradle.srcx.I'll update my memory so I don't repeat these mistakes in future reviews.
(╯°□°)╯彡🐇 trips over wrong analysis, tumbles away
✏️ Learnings added
🧠 Learnings used