repowiserepowise
Sign in
pug-sh/pug
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowisepug-sh/pug
PU
PU

pug-sh / pug

gomainec2972482.1K linessynced 15h ago

Code health

6.0out of 10Fair

This codebase scores 6.0 out of 10 on defect risk, which we rate fair. It also scores maintainability 7.8 and static performance risk 9.5 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 119 of 547 files are git hotspots, and they average 4.1.

Full health report →
Documentation749pages0 with model-written prose, 749 built from the indexScore validation19/202.66× baselineOf the 20 lowest-health files, 19 were bug-fixed in the last 6 months — 2.66× the 36% baselineDead code16exportsUnused exports that nothing in the graph reaches
Lines of code
82.1K
Files
547
Symbols
3,914
Modules
53
Languages
8

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Set accessTokenTTL by refresh cost, not theft riskproposed · 15h ago
  • Bake Audience and Issuer into all session JWTs using a shared sourceproposed · 15h ago
  • Fail loud at startup for email publish counterproposed · 15h ago
  • Builders must not mutate shared *url.URL baseproposed · 15h ago
  • Split DSN/pool DSN max-conns behavior to avoid silent test passesproposed · 15h ago
  • GDPR/DPDP erasure ledger integrity fixesproposed · 15h ago

Needs attention

79 open
  • medium severity. ProposedSet accessTokenTTL by refresh cost, not theft riskAuto-proposed decision awaiting review
  • medium severity. ProposedBake Audience and Issuer into all session JWTs using a shared sourceAuto-proposed decision awaiting review
  • medium severity. ProposedFail loud at startup for email publish counterAuto-proposed decision awaiting review
  • medium severity. ProposedBuilders must not mutate shared *url.URL baseAuto-proposed decision awaiting review
  • medium severity. ProposedSplit DSN/pool DSN max-conns behavior to avoid silent test passesAuto-proposed decision awaiting review

Where the risk concentrates

All 119 hotspots →

Ranked by prior bug fixes and change frequency, mined from full git history rather than from the code alone.

FileChurnPrior fixesMaintainersCommits 90d
builder_test.gointernal/core/insights99.8th11bug magnet318
insights.pb.gointernal/gen/proto/shared/insights/v199.6th8bug magnet319
integration_test.gointernal/core/insights99.4th13bug magnet326
builder.gointernal/core/insights99.2th18bug magnet328
dashboards.pb.gointernal/gen/proto/dashboard/dashboards/v199.1th1322

Composition

Open the graph →
go 77%sql 10%proto 7%markdown 3%yaml 2%Other 1%

Explore this codebase

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