# 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

| | |
|---|
| Modules | 710 |
| Dependencies between modules | 4,630 |
| Functions, constants, classes and types | 6,800 |
| Languages | go 549, ts 65, tsx 55, js 32, py 9 |
| Boundary violations | 0 |

## 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.

| File | Direct dependents | Within 2 hops |
|---|---|---:|---:|
| `internal/llm/chatgpt.go` | 92 | 127 |
| `internal/llm/client.go` | 92 | 127 |
| `internal/llm/embedded_loader.go` | 92 | 127 |
| `internal/llm/keycmd.go` | 92 | 127 |
| `internal/llm/keycmd_unix.go` | 92 | 127 |
| `internal/llm/keycmd_windows.go` | 92 | 127 |
| `internal/llm/protocol.go` | 92 | 127 |
| `internal/llm/providers.go` | 92 | 127 |
| `internal/llm/raw.go` | 92 | 127 |
| `internal/llm/request_timeout.go` | 92 | 127 |
| `internal/llm/resolver.go` | 92 | 127 |
| `internal/llm/responses_client.go` | 92 | 127 |
| `internal/llm/retry_boundary.go` | 92 | 127 |
| `internal/llm/retry_meta.go` | 92 | 127 |
| `internal/llm/retry_observer.go` | 92 | 127 |

## 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.
