repowiserepowise
Sign in
temporalio/temporal
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowisetemporalio/temporal
TE
TE

temporalio / temporal

gomainf0ed67d671.0K linessynced 1mo ago

Code health

6.7out of 10Good

This codebase scores 6.7 out of 10 on defect risk, which we rate good. It also scores maintainability 7.3 and static performance risk 10.0 out of 10. The three are scored separately and never blended into one number. The files you change most are the weak spot: 210 of 3,156 files are git hotspots, and they average 4.0.

Full health report →
Documentation583pages583 with model-written prose, 0 built from the indexScore validation16/203.59× baselineOf the 20 lowest-health files, 16 were bug-fixed in the last 6 months — 3.59× the 22% baselineDead code353exportsUnused exports that nothing in the graph reaches
Lines of code
671.0K
Files
3,156
Symbols
35,846
Modules
102
Languages
12

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • %[2]v is the columns of the value struct (i.e. no primary key columns), comma separated %[3]v…proposed
  • %[2]v is the name of the key NOTE: sqlx only support ? when doing sqlx.In expanding queryproposed
  • %q because request has JSON encoded string.proposed
  • +3 because the counter resets when version changes so the calls with error do not countproposed
  • 1. Creates a parent workflow, initiates a child workflow, then pauses the parent 2. Executes the…proposed
  • 16MB - just a sanity check. With ES document size ~1Kb it should never be reached.proposed

Needs attention

1,671 open
  • medium severity. Proposed%[2]v is the columns of the value struct (i.e. no primary key columns), comma separated %[3]v…Auto-proposed decision awaiting review
  • medium severity. Proposed%[2]v is the name of the key NOTE: sqlx only support ? when doing `sqlx.In` expanding queryAuto-proposed decision awaiting review
  • medium severity. Proposed%q because request has JSON encoded string.Auto-proposed decision awaiting review
  • medium severity. Proposed+3 because the counter resets when version changes so the calls with error do not countAuto-proposed decision awaiting review
  • medium severity. Proposed1. Creates a parent workflow, initiates a child workflow, then pauses the parent 2. Executes the…Auto-proposed decision awaiting review

Where the risk concentrates

All 210 hotspots →

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

FileChurnPrior fixesMaintainersCommits 90d
nexus_standalone_test.gotests100.0th04bus factor 123
mutable_state_impl_test.goservice/history/workflow99.9th01126
tree_test.gochasm99.9th0516
nexus_workflow_test.gotests99.9th0418
mutable_state_impl.goservice/history/workflow99.8th01332

Composition

Open the graph →
go 76%external 8%json 4%sql 4%proto 2%Other 6%

Explore this codebase

  • Docs583 pages across 102 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files3,156 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 37 entry points→
  • Code healthPer-file scores, 10,922 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→