hashicorp/terraform SLOC report

As of 2026-09-07 (commit 7b8c301b55dd), hashicorp/terraform contains 745,609 total lines: 591,821 code, 73,091 comments, 80,697 blank, across 3,980 files in 12 languages (top: Go 92.8%). Counted with tokei via OctoCounts.

As of 2026-09-07 (commit 7b8c301b55dd), hashicorp/terraform contains 745,609 total lines: 591,821 code, 73,091 comments, 80,697 blank, across 3,980 files in 12 languages (top: Go 92.8%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving hashicorp/terraform to commit 7b8c301b55dd, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a large codebase by counted code lines. Code represents 79.4% of all lines, comments represent 9.8%, and the repository averages 149 code lines per file. Go accounts for 92.8% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Go19996962015493236959277286
JSON261270212702001
HCL164816578133748072397
Protocol Buffers13327916071243429
Shell15742411173158
Dockerfile285323518
Makefile150251312
YAML1171340
Templ8101000
BASH1266164
Markdown22158101191390
Plain Text9190172

Top language (Go 92.8%). Generated at .

Report FAQ

How many lines of code does hashicorp/terraform have?

hashicorp/terraform has 745,609 total lines, including 591,821 code lines, 73,091 comment lines, and 80,697 blank lines.

How was the hashicorp/terraform line count measured?

OctoCounts resolved the public GitHub repository to commit 7b8c301b55dd, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for hashicorp/terraform?

This OctoCounts report was generated from main at commit 7b8c301b55dd on 2026-09-07T08:26:20.861918697+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: