repowiserepowise
Sign in
ory/kratos
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowiseory/kratos
KR
KR

ory / kratos

sqlmaster3699ae3231.7K linessynced 3w ago

Code health

7.8out of 10Good

This codebase scores 7.8 out of 10 on defect risk, which we rate good. It also scores maintainability 8.4 and static performance risk 9.9 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 78 of 7,338 files are git hotspots, and they average 3.3.

Full health report →
Documentation1,258pages1,258 with model-written prose, 0 built from the indexScore validation20/2030.78× baselineOf the 20 lowest-health files, 20 were bug-fixed in the last 6 months — 30.78× the 3% baselineDead code273exportsUnused exports that nothing in the graph reaches
Lines of code
231.7K
Files
7,338
Symbols
8,367
Modules
143
Languages
13

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Abandon on SMTP 5xxproposed
  • Abort hook tail after writing responsesproposed
  • Accept scalar-or-array JSON for identitiesproposed
  • Adapt pflag to Koanf via posflag providerproposed
  • Add client-side PKCE configuration for OIDC providersproposed
  • Add include_credential to return social sign-in tokensproposed

Needs attention

675 open
  • high severity. Stale decisionDo not bound schema structural size at loader layerActive decision drifting from the code it governs
  • high severity. Stale decisionReject pure `$ref` cycles but not mixed validation cyclesActive decision drifting from the code it governs
  • medium severity. ProposedAbandon on SMTP 5xxAuto-proposed decision awaiting review
  • medium severity. ProposedAbort hook tail after writing responsesAuto-proposed decision awaiting review
  • medium severity. ProposedAccept scalar-or-array JSON for identitiesAuto-proposed decision awaiting review

Where the risk concentrates

All 78 hotspots →

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

FileChurnPrior fixesMaintainersCommits 90d
persister_identity.gopersistence/sql/identity99.9th0713
pool.goidentity/test99.9th066
handler_test.goidentity99.8th077
strategy_test.goselfservice/strategy/oidc99.7th078
validator_test.goschema99.7th034

Composition

Open the graph →
sql 71%go 14%json 10%external 3%yaml 1%Other 1%

Explore this codebase

  • Docs1,258 pages across 143 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files7,338 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 19 entry points→
  • Code healthPer-file scores, 3,980 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→