glauth / glauth
Code health
This codebase scores 5.5 out of 10 for code health, which we rate fair. It also scores maintainability 6.5 and static performance 9.7 out of 10. The three are scored separately and never blended into one number.
Do next
1 suggested
1 thing worth doing this quarter.
Worth planning
Delete 15 unused symbols and files (121 lines)
Nothing in the graph reaches them, across 12 files; every reader and agent pays to skip them.
- symbols
- 15
- lines
- 121
- 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 13 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
- proposed
- 13
- accepted
- 0
Medium effort
- Lines of code
- 6.0K
Recent activity
All commitsCommits
Decisions
- Enhance monitoring with Prometheus monitor object and replace expvar collector; move to go.uber.org/mock/gomockproposed
- Add startTLS TLS configuration parameters and pass TLS config to LDAP serverproposed
- Add Unix PAM authentication plugin and modernize PAM Bind/Search via LDAPOpsHelperproposed
- Use gofmt formatting before committingproposed
- Base pull requests on dev branchproposed
- Use TLS/SSL for productionproposed
Everything we found
211 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 critical severity. Code health137Function hotspot · v2/pkg/handler/ldapopshelper.go34 findings · 8.0 deducted
- worst item is low severity. Refactoring3cycle[2]: ldap.go->interfaces.go+0.0 health, S effort · v2/internal/monitoring/interfaces.go
- worst item is medium severity. Decisions13Enhance monitoring with Prometheus monitor object and replace expvar collector; move to go.uber.org/mock/gomock13 awaiting review
- worst item is medium severity. Ownership41v2/internal/version/const.go100% single-owner concentration, 1 commits in 90d
- worst item is low severity. Dead code17APIUnreachable struct (2 lines)
Composition
Open the graph- go84%
- shell11%
- javascript2%
- makefile2%
Explore this codebase
- Docs0 pages across 1 modules
- ChatAsk this codebase a question and get an answer with its sources.
- Files56 files with per-file docs, health and history
- ArchitectureDependency graph, layers, and 2 entry points
- Code healthPer-file scores, 150 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.