openfheorg / openfhe-development
Code health
Explore this codebase
- Code health map569files scored
- Ownership41sole-owned files: one author, no second reader
- Architecture9modules, 89 entry points
- Decisions75recorded, of which 0 in force and 75 background
- Refactoring4open opportunities, one per file
- TestsNo coverage report yet. Run your tests with coverage on, then add the report:
AlsoDocsChatFilesKnowledge graphChange couplingCommitsStatsCosts
Do next · 3
3 things worth doing in the week to Apr 28, the last indexed commit.
Worth planning
Address the finding in LatticeGaussSampUtility<Element>::SampleMat
src/core/include/lattice/dgsampling-impl.h:311
LatticeGaussSampUtility<Element>::SampleMat has a bumpy road finding; its file is imported by 14 files.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Bumpy road
- size
- CCN 18, 87 lines, nests 3 deep
- severity
- medium
Medium effort, worth a checkAddress the finding in setCryptoContextParametersFromUnitTestCCParams
src/pke/unittest/utils/UnitTestCryptoContext.cpp:41
setCryptoContextParametersFromUnitTestCCParams has a bumpy road finding; function changed in 11 commits; its file is imported by 23 files.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Bumpy road
- size
- CCN 42, 111 lines
- severity
- high
Medium effort, worth a checkAddress the finding in test_NTT
src/core/extras/ntt2.cpp:105
test_NTT has a bumpy road finding; function changed in 4 commits.
- gain
- up to under +0.1 health on this file(inferred)
- finding
- Bumpy road
- size
- CCN 19, 201 lines
- severity
- low
Medium 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
4 areas
Every detector's open count by area. The actions above are the part worth doing.
- Code health971 open findingsCriticalUntested hotspot · src/core/include/lattice/hal/default/dcrtpoly-impl.h27 findings · 9.5 deducted
- Refactoring4 open opportunitiesLowsetup+0.8 health, S effort · docs/conf.py
- Ownership41 sole-owned filesMediumbenchmark/src/binfhe-ap-pke.cppOne author, no second reader
- Dead code118Lowsrc/core/lib/utils/blockAllocator/blockAllocator.cppUnreachable symbol (40 lines)