repowiserepowise
Sign in
hedge-lang/hedge
OverviewDocsArchitectureKnowledge GraphFilesCode HealthRefactoring

People & History

CommitsContributorsDecisions
ChatPro
Stats
repowiserepowise
ExplorePricingDocs
Sign inIndex repoIndex your repo free
repowisehedge-lang/hedge
HE
HE

hedge-lang / hedge

typescriptmain6e8572716.0K linessynced 1mo ago

Code health

7.0out of 10Good

This codebase scores 7.0 out of 10 on defect risk, which we rate good. It also scores maintainability 8.7 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: 14 of 124 files are git hotspots, and they average 5.0.

Full health report →
Score validation5/203.1× baselineOf the 20 lowest-health files, 5 were bug-fixed in the last 6 months — 3.1× the 8% baselineDead code6exportsUnused exports that nothing in the graph reaches
Lines of code
16.0K
Files
124
Symbols
352
Modules
30
Languages
5

Recent activity

All commits →

Commits

No commits indexed yet.

Decisions

  • Represent expression statements explicitly in ASTproposed
  • Lexer returns error tokens and diagnostics instead of throwingproposed
  • Use small recursive-descent parserproposed
  • Add tokenToString for improved error messagesproposed
  • Enforce parentheses for call-as-value expressionsproposed
  • Add code generation support for block and if expressionsproposed

Needs attention

54 open
  • medium severity. ProposedRepresent expression statements explicitly in ASTAuto-proposed decision awaiting review
  • medium severity. ProposedLexer returns error tokens and diagnostics instead of throwingAuto-proposed decision awaiting review
  • medium severity. ProposedUse small recursive-descent parserAuto-proposed decision awaiting review
  • medium severity. ProposedAdd tokenToString for improved error messagesAuto-proposed decision awaiting review
  • medium severity. ProposedEnforce parentheses for call-as-value expressionsAuto-proposed decision awaiting review

Where the risk concentrates

All 14 hotspots →

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

FileChurnPrior fixesMaintainersCommits 90d
parser.tstoolchain/compiler/src/parser98.4th21bus factor 131
parser.test.tstoolchain/compiler/src/parser96.8th01bus factor 126
lexer.test.tstoolchain/compiler/src/lexer95.2th11bus factor 123
lexer.tstoolchain/compiler/src/lexer93.5th41bus factor 120
comments.tstoolchain/compiler/src/lexer91.9th21bus factor 119

Composition

Open the graph →
typescript 49%markdown 36%json 12%yaml 2%javascript 1%

Explore this codebase

  • Docs0 pages across 30 modules→
  • ChatAsk this codebase a question and get an answer with its sources→
  • Files124 files with per-file docs, health and history→
  • ArchitectureDependency graph, layers, and 3 entry points→
  • Code healthPer-file scores, 242 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→