Open Code Review: a map of its code, package by package.

Open Code Review is Alibaba's hybrid code review tool for agents. Wingbox built the graph of the repository, with no model, and the map stacks its code by package: 319 files and 1,777 dependencies on 24 planes, the packages the others depend on lower. Click a file to see what a change to it reaches.

Open Code Review on 24 package planes, one file selected with its blast radius
Open the live mapRead the reportalibaba/open-code-reviewDrag to turn the planes, scroll to zoom, click a file for its blast radius.
The report

What Wingbox wrote on the whole repository

REPORT.md as the tool wrote it, without its own guesses of architecture layers.

Wingbox report: open-code-review

Generated on 2026-11-16 by wingbox 0.2.6 from the code graph of this project. Open map.html in this folder for the interactive map.

Key findings

  • A change to internal/model/diff.go reaches 135 of 710 modules (19%) within 2 hops; 82 modules depend on it directly.

Summary

Modules710
Dependencies between modules4,630
Functions, constants, classes and types6,800
Languagesgo 549, ts 65, tsx 55, js 32, py 9
Boundary violations0

Most depended-on modules

A change in one of these files reaches the most code (test files are left out). "Within 2 hops" counts the modules that depend on it directly or through one other module.

FileDirect dependentsWithin 2 hops
internal/llm/chatgpt.go92127
internal/llm/client.go92127
internal/llm/embedded_loader.go92127
internal/llm/keycmd.go92127
internal/llm/keycmd_unix.go92127
internal/llm/keycmd_windows.go92127
internal/llm/protocol.go92127
internal/llm/providers.go92127
internal/llm/raw.go92127
internal/llm/request_timeout.go92127
internal/llm/resolver.go92127
internal/llm/responses_client.go92127
internal/llm/retry_boundary.go92127
internal/llm/retry_meta.go92127
internal/llm/retry_observer.go92127

Where to start reading

Files that nothing else depends on and that pull in the most modules:

  • cmd/opencodereview/shared.go, depends on 83 modules
  • cmd/opencodereview/review_cmd.go, depends on 69 modules
  • cmd/opencodereview/output.go, depends on 60 modules
  • cmd/opencodereview/scan_cmd.go, depends on 60 modules
  • cmd/opencodereview/delegate_cmd.go, depends on 33 modules
  • cmd/opencodereview/code_access.go, depends on 31 modules
  • cmd/opencodereview/chatgpt_auth.go, depends on 27 modules
  • cmd/opencodereview/main.go, depends on 25 modules
  • cmd/opencodereview/sarif.go, depends on 22 modules
  • cmd/opencodereview/session_cmd.go, depends on 22 modules

Next steps

Check what a change will reach before you make it:

wingbox impact internal/llm/chatgpt.go

Rebuild after the code changes with wingbox build. This report and the map are rewritten on every build.

Limits

The graph comes from static parsing. Dependencies created at run time (dependency injection, reflection, generated code) are not visible here.

Method

How this was made

  • Wingbox 0.2.6 from PyPI on the whole repository at commit dd1a7e1, 2026-11-16: one command, wingbox build .
  • The map leaves out the 391 test files and puts every other file on the plane of its package, the folder of its nearest package manifest. The planes are stacked by the dependencies between packages.
  • Checked against the code. TypeScript and JavaScript dependencies compared with an import resolver written apart from Wingbox: 293 in the graph, 292 found by the resolver, 292 in both. Python dependencies compared with Python's own parser: 4 in the graph, 4 imports in the code, 0 missing, none extra. Not checked by an independent reader: Go (549 files).

Run it on any repository: pipx install wingbox && wingbox build . · Wingbox on GitHub (MIT)