mightypirates / opencomputers
scalaluaumaster-MC1.7.10e07949598.8K linessynced 4mo ago
Code health
9.6out of 10Excellent
This codebase scores 9.6 out of 10 for code health, which we rate excellent.
Do next
1 suggested
1 thing worth doing this quarter.
Worth planning
Delete 328 unused symbols and files (9,498 lines)
Nothing in the graph reaches them, across 240 files; every reader and agent pays to skip them.
- symbols
- 328
- lines
- 9,498
- 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 effortReview the 23 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
- proposed
- 23
- accepted
- 0
Medium effort
- Lines of code
- 98.8K
Recent activity
All commitsCommits
- e079495fuse misc.maxClipboard value, which was not previously respected4mo ago
- 85370f36fix(blood-magic): getSacrificeMultiplier returned incorrect value. (#163)4mo ago
- bf754334Stop checking glGetError if the setting is disabled (#162)4mo ago
- e9cb3d46fix server leak in FakeNetworkManager + tile entity leaks in Sound4mo ago
- 8ccb2f85fix server leak caused by StaticSimpleEnvironment (#186)4mo ago
- 798dd75dfix clipboard text length not being respected on the server side4mo ago
Decisions
- Do not implement ManagedEnvironment in tile entitiesproposed
- ManagedEnvironment update/save/load are called by logical containerproposed
- Avoid assigning term.write to io.write due to metatable behaviorproposed
- Nil keys match anythingproposed
- Use false keys and nil wildcard matching in timersproposed
- Validate handler identity during callbacksproposed
Everything we found
1,713 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 medium severity. Code health87Function hotspot · src/main/scala/li/cil/oc/integration/computercraft/DriverPeripheral.java7 findings · 4.4 deducted
- worst item is medium severity. Decisions23Make weak ItemStack comparison for trading23 awaiting review
- worst item is medium severity. Ownership1,140src/main/scala/li/cil/oc/client/PacketSender.scala95% single-owner concentration, 1 commits in 90d
- worst item is low severity. Dead code463src/main/resources/assets/opencomputers/loot/network/data/lib/network/modem.luaUnreachable symbol (30 lines)
Composition
Open the graph- scala61%
- luau21%
- java18%
- shell<1%
Explore this codebase
- Docs0 pages across 2 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files2,109 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 24 entry points
- Code healthPer-file scores, 87 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.