layerzero-labs / layerzero-v2
rusttypescriptmain9c741e717.8K linessynced 2mo ago
Code health
9.5out of 10Excellent
Explore this codebase
- Code health map555files scored
- Ownership354sole-owned files: one author, no second reader
- Architecture2modules, 19 entry points
- Decisions6recorded, of which 0 accepted and 6 awaiting review
- Refactoring2open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1
1 thing worth doing this quarter.
Worth planning
Delete 25 unused symbols and files (75 lines)
Nothing in the graph reaches them, across 25 files; every reader and agent pays to skip them.
- symbols
- 25
- lines
- 75
- safe to delete
- Yes(inferred)
Small 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 6 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
- proposed
- 6
- accepted
- 0
Medium effort
Everything we found
5 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health53LowDeep nesting · packages/layerzero-v2/solana/programs/programs/executor/src/instructions/quote.rs4 findings · 2.3 deducted
- Refactoring2 open opportunitiesLowapply+0.8 health, S effort · packages/layerzero-v2/solana/programs/programs/executor/src/instructions/quote.rs
- Decisions6 to reviewMediumUpdate Sui Move dependency sources and lockfiles; adjust tests and CI6 awaiting review, 0 drifting from the code
- Ownership354 sole-owned filesMedium.prettierrc.jsOne author, no second reader
- Dead code51Lowpackages/layerzero-v2/aptos/contracts/workers/worker_publishers/script_generation/worker_initialization_scripts.tsUnreachable symbol (30 lines)