topoteretes / cognee
pythonmain6df1eda254.7K linessynced 3mo ago
Code health
6.6out of 10Fair
Hotspots average 4.6, the place fixes pay off most.
Explore this codebase
- Code health map298hotspots across 2,262 files
- Ownership1,243sole-owned files: one author, no second reader
- Architecture15modules, 16 entry points
- Decisions59recorded, of which 0 accepted and 59 awaiting review
- Refactoring264open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 1
3 things worth doing this quarter, 2 of them now.
Worth planning
Delete 126 unused symbols and files (2,856 lines)
Nothing in the graph reaches them, across 99 files; every reader and agent pays to skip them.
- symbols
- 126
- lines
- 2,856
- 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 59 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
- proposed
- 59
- 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 health4,299CriticalUntested hotspot · cognee/infrastructure/databases/graph/ladybug/adapter.py80 findings · 10.0 deducted
- Refactoring264 open opportunitiesMediumimgIcon+1.5 health, S effort · cognee-frontend/src/app/(app)/integrations/page.tsx
- Decisions59 to reviewMediumcognee/infrastructure/session/session_manager.py59 awaiting review, 0 drifting from the code
- Ownership1,243 sole-owned filesMediumcognee/api/v1/remember/remember.pyOne author, no second reader
- Dead code166Lowcognee/modules/retrieval/context_providers/DummyContextProvider.pyUnreachable symbol (20 lines)