Change the public API
Start with possible export surfaces, then check their consumers and tests. These suggestions use file names, not verified execution paths.
- File-name match for this task.
Understand electron/electron's source layout and find a starting point for your task using the saved repository evidence.
Measured from the parsed import graph, retained from the earlier analysis. Coupling, not a reading order.
Files at da4c6886fbfd · captured source folders.
Start with possible export surfaces, then check their consumers and tests. These suggestions use file names, not verified execution paths.
Start with possible startup or request handlers, then follow the calls for your scenario. These suggestions use file names, not verified execution paths.
Use a nearby test as a pattern. Read the root manifest or contribution guide for the correct test command. These suggestions use file names, not verified execution paths.
Inspect the relevant configuration and the commands it runs before changing the workflow. These suggestions use file names, not verified execution paths.
File paths come from a snapshot of up to 500 captured paths; an omitted file may still exist.
Source directories grouped from the import graph. Each links to a per-module page with its files and how it couples to the rest.
A file is "critical" when lots of other files in the repo import it. The list is sorted by how many files import each one; the top of the list is the most load-bearing. A flame icon means the file is also one of the most-edited recently — when a critical file changes a lot, bugs there ripple wider, so it's where regressions are most likely.
How the A grade breaks down
Nothing else in the repo imports these files, and they don't look like entry points — so they may be dead code. Verify before removing: dynamic imports, re-exports, and framework auto-loading (Next.js routes, plugin/DI registries) aren't tracked by the import graph.
Stack: Node.js runtime + Chromium browser + native platform APIs (Objective-C++ for macOS, C++ for Windows/Linux, shell scripts for build). Patterns: IPC dispatch layer (lib/browser/ipc-dispatch.ts, ipc-main-impl.ts) for message passing between main and renderer processes; module export system through electron.ts gateway; auto-updater abstraction with platform-specific implementations (Windows Squirrel, MSIX, native). Build: TypeScript → JavaScript compilation, node-gyp for native module binding, oxfmt for code formatting.
This repo is in good health with CI, tests, and active maintenance.
How maintainable the code looks — from complexity, code issues, test presence, file size, and hotspot load. It grades the shape of the code, not defect risk, and doesn't replace review.
Provider: GitHub Actions
936 test files / 1,143 source files. This is a file-count ratio, not real line coverage — set up Codecov for authoritative numbers.
No Dependabot / Renovate / Snyk / Trivy / CodeQL config found. Enable Dependabot or Renovate.
Real-time data from Codecov, GitHub Actions, GitHub Issues, deps.dev — not estimates.
last 50 runs · median 2s
of 8 recent open issues are 30d+ old with no replies
median first-reply across 15 recent issues · fast
Files edited often AND hard to reason about. Churn = recent commit frequency, Complexity = branches and nesting, Risk = both combined. These are the highest-leverage targets for refactoring or testing.
Files that change often and are complex tend to accumulate more bugs
Static analysis on sampled source files (up to 15 files).