donnemartin / system-design-primer
pythonmasterae9bbd710.1K linessynced 3mo ago
Code health
9.4out of 10Excellent
This codebase scores 9.4 out of 10 for code health, which we rate excellent. It also scores maintainability 8.9 and static performance 10.0 out of 10. The three are scored separately and never blended into one number.
Do next
1 suggested
1 thing worth doing this quarter.
Worth planning
Delete 36 unused symbols and files (540 lines)
Nothing in the graph reaches them, across 10 files; every reader and agent pays to skip them.
- symbols
- 36
- lines
- 540
- safe to delete
- Yes(inferred)
Medium effort
Improve what Repowise can see
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
- line coverage
- Unknown, no report
Small effort
- Lines of code
- 10.1K
Recent activity
All commitsCommits
- ae9bbd7bFix link for UDP vs TCP (#1153)7mo ago
- 83046ebaFix broken link to PayPal Developer Blog (#1189)7mo ago
- 19a26e66Update link for understanding latency vs throughput (#1163)7mo ago
- 02a4319eFix URL for Layer 4 load balancing (#1181)7mo ago
- bf0262c8Fix link for push and pull CDNs (#1190)7mo ago
- daa12336Fix grammar in Motivation section (#1203)7mo ago
Everything we found
84 open
Every detector's open count by area, each with its worst example. An inventory, not a to-do list: the actions above are the part worth doing.
- worst item is low severity. Code health9Low cohesion · solutions/object_oriented_design/online_chat/online_chat.py2 findings · 1.2 deducted
- worst item is medium severity. Decisions1Use reverse proxy architecture for Mint request flow1 awaiting review
- worst item is medium severity. Ownership24solutions/object_oriented_design/call_center/__init__.py100% single-owner concentration, not touched in 90 days
- worst item is low severity. Dead code50solutions/object_oriented_design/lru_cache/lru_cache.pyUnreachable symbol (110 lines)
Composition
Open the graph- python96%
- shell4%
Explore this codebase
- Docs0 pages across 2 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files51 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 0 entry points
- Code healthPer-file scores, 9 open findings, coverage and refactoring targets
- Knowledge graphEntities, communities, and the paths between them
- Change couplingFiles that keep changing together, mined from commit history
- CommitsChange-risk ranked history with agent provenance
- ContributorsBus factor, per-file maintainers, and the human/agent split
- StatsSize class, origin, lifetime churn, rhythm and records
- CostsWhat indexing this snapshot cost, by model and by run.