Repository navigation
Veyra Hotspots 1.0.0: a living heat map of your codebase - #39
Conversation
A new, original VS Code extension. From the project's own git history and the code as it is today, it scores every file on change frequency x complexity (indentation depth, language-agnostic) and shows: - the Hotspot Map: a zoomable canvas treemap sized by lines of code, coloured by risk, with five modes (hotspots, change frequency, complexity, code age, knowledge risk), hover details, a per-file panel and dashed links to the files that change with it - Top Hotspots, Changes Together (temporal coupling, huge commits ignored) and Knowledge Risks (single owner, or the only author has left) - flames on the hottest files in the Explorer, the open file's rank in the status bar, Why Is This a Hotspot?, File History with diffs, Markdown report 15 unit tests (parser, metrics, scoring, coupling, knowledge, treemap geometry, globs) and a 9-step integration test in VS Code on a repo with two years of backdated history. README screenshots are the real map of this repo (author names anonymized). Added to the publish workflow and repo README. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🛡️ Veyra Code Guard · Grade B (88/100)
Review needed: high-risk findings. Found 1 suspicious line in pull request #39: 🔴 1 high
| Severity | Where | What | How to fix |
|---|---|---|---|
| 🔴 high | extensions/hotspots/src/model.ts:412 |
Invisible character in code: Invisible character <U+200B> on this line. | Remove the invisible characters, then check the names on the line: a variable with a hidden character is a different variable from the one it looks like. |
Each line is marked in Files changed. To accept a line that is safe, add a comment veyra-guard-ignore: <rule> on it or the line above.
|
|
||
| // ------------------------------------------------------------------------------------------------ globs | ||
|
|
||
| /** A glob like "**/node_modules/**" or "**/*.min.*" as a RegExp over workspace-relative POSIX paths. */ |
There was a problem hiding this comment.
🔴 Invisible character in code (high)
Invisible character <U+200B> on this line.
Zero-width and blank characters can hide extra code or create look-alike names (two variables that look identical but aren't), a known way to sneak in backdoors.
How to fix: Remove the invisible characters, then check the names on the line: a variable with a hidden character is a different variable from the one it looks like.
Veyra Code Guard · rule invisible-character · add veyra-guard-ignore: invisible-character to accept
A new, original VS Code extension: Veyra Hotspots. It finds the files where bugs live: code that is both complex and changed often, from the project's own git history.
What it does
Also in this PR
hotspotsadded to the Publish VS Code extension workflow.vsix(47 KB) inextensions/hotspots/release/Tested
After merging
Publish from Actions → Publish VS Code extension → hotspots.
🤖 Generated with Claude Code