r0y00 / xbox2windows
Code health
Hotspots average 2.9, the place fixes pay off most.
Explore this codebase
- Code health map15hotspots across 930 files
- Ownership503sole-owned files: one author, no second reader
- Architecture3modules, 0 entry points
- Decisions32recorded, of which 0 in force and 32 background
- Refactoring272open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 3 · 1 setup step
3 things worth doing in the week to Nov 24, the last indexed commit · 1 setup step.
Worth planning
Tidy the code shape this week's commits left: 18 findings in 7 files
10 commits in the last 7 days added or worsened long, complex or deeply nested code, still open. Start with
tools/startup/gfx2hlsl.py(6 findings): tidying it while the change is fresh costs less than after the next one.- code-shape findings
- 18
- files
- 7
- commits
- 10
Medium effortSimplify
lowerintools/pixel_aot.py: tests reach it, and fixes keep landingChanged 226 times in 90 days, and 5 of those commits were bug fixes.
- commits in 90 days
- 226
- bug-fix commits
- 5
- line coverage
- Unknown, no report
- tests that reach it
- 3 test files, import graph(inferred)
Large effort, worth a checkSimplify
build_stream_pipelineinsrc/startup_stubs/d3d12_xs_device.cpp: tests reach it, and fixes keep landingChanged 66 times in 90 days, and 7 of those commits were bug fixes.
- commits in 90 days
- 66
- bug-fix commits
- 7
- line coverage
- Unknown, no report
- tests that reach it
- 4 test files, call graph(inferred)
Large effort, worth a check
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
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health3,879 open findingsCriticalChange entropy · src/startup_stubs/d3d12_xs_device.cpp129 findings · 12.2 deducted
- Refactoring272 open opportunitiesMediumtranslate+1.2 health, S effort · tools/cpu_stdio_exe_aot.py
- Doc drift2Mediumtools/_bcpack_rans/THIRD_PARTY_NOTICES.mdDocument names tools/gen_tables.py, which no longer exists.
- Decisions0 drifting from the codeMediumtests/pixel_aot_check.pyHigh-churn file with no governing decision
- Ownership503 sole-owned filesMediumtools/x87_soft.hOne author, no second reader