repowiserepowise
Sign in
gin-gonic/gin
OverviewDocsArchitectureKnowledge GraphFilesCode HealthSecurityRefactoring

People & History

CommitsContributorsDecisions
Chat
Stats
repowiserepowise
ExplorePricingDocs
Sign in
repowisegin-gonic/gin
GI
GI

gin-gonic / gin

gomaster5c6a15f18.2K linessynced 2w ago

Code health

6.4out of 10Fair

This codebase scores 6.4 out of 10 for code health, which we rate fair. It also scores maintainability 7.2 and static performance 9.9 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 2 of 120 files are git hotspots, and they average 3.6 — which is where the fixes pay off most.

Full health report →
Documentation235pages10 with model-written prose, 225 built from the indexScore validation6/203.7× baselineTop-ranked files that did go on to need a bug fixDead code11exportsUnused exports that nothing in the graph reaches

Do next

Nothing stands out in the week to Sep 16, the last indexed commit.

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
Lines of code
18.2K
Files
120
Symbols
1,706
Modules
6
Languages
2

Recent activity

All commits →

Commits

  • 5c6a15f8fix(context): handle missing HTML renderer (#4805)3w ago
  • bc141b4dfix(deps)!: patch x/crypto vulnerabilities (#4832)3w ago
  • b52df1fedocs: document panic conditions in Handle, StaticFS, and Bind (#4797)3w ago
  • 2a1a14fffeat(router): add QUERY method shortcut for RFC 10008 (#4830)3w ago
  • dcaa4296docs(path): fix malformed comment in cleanPath (#4723)1mo ago
  • 8dd20118fix(deps): bump golang.org/x/net and golang.org/x/text to patched versions (#4807)1mo ago

Decisions

  • fix(response): refine hijack behavior for response lifecycleproposed · 2w ago
  • refactor(recovery): extract Authorization header masking into maskAuthorization funcproposed · 2w ago
  • feat(router): add QUERY method shortcut for RFC 10008proposed · 2w ago
  • Fix some testsproposed · 2w ago
  • test(gin): resolve race conditions in integration testsproposed · 2w ago
  • Add experimental HTTP/3 support via quic-go and drop older Go versionsproposed · 2w ago
▸

Everything we found

266 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 health166Ownership risk · tree.go29 findings · 8.0 deducted→
  • worst item is low severity. Refactoring12cleanPath+1.0 health, S effort · path.go→
  • worst item is medium severity. Decisions28context_test.go26 awaiting review · 2 hotspots ungoverned→
  • worst item is medium severity. Ownership60routergroup.go81% single-owner concentration, 2 commits in 90d→

Composition

Open the graph →
go 99%
makefile 1%

Explore this codebase

  • Docs235 pages across 6 modules→
  • ChatAsk this codebase a question and get an answer with its sources.→
  • Files120 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 1 entry points→
  • Code healthPer-file scores, 585 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.→