krahets/hello-algo

krahets/hello-algo has 359,409 source lines of code out of 570,495 total lines across 7,996 files, counted with tokei from the main ref at commit ded7ddc63514 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-15 (commit ded7ddc63514), krahets/hello-algo contains 570,495 total lines: 359,409 code, 141,644 comments, 69,442 blank, across 7,996 files in 29 languages (top language: Go 7.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-15 (commit ded7ddc63514), krahets/hello-algo contains 570,495 total lines: 359,409 code, 141,644 comments, 69,442 blank, across 7,996 files in 29 languages (top language: Go 7.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving krahets/hello-algo to commit ded7ddc63514, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a large codebase by counted code lines. Code represents 63.0% of all lines, comments represent 24.8%, and the repository averages 45 code lines per file. Go accounts for 7.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
Go834440102856099005550
C4624325428110100325112
Rust5344220827496100744638
Swift5444152626923103354268
C#528395462553095044512
Java522398162535095824884
Kotlin5223905424492100024560
C++510391622439699124854
Python534352682433650225910
JavaScript525380562409399414022
TypeScript510382322406098464326
Dart5223823824006100024230

Top language: Go 7.9%. Generated on .

Counting rules and retention

krahets/hello-algo: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does krahets/hello-algo have?

krahets/hello-algo has 359,409 lines of code, plus 141,644 comment lines and 69,442 blank lines, for 570,495 total lines at commit ded7ddc63514 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the krahets/hello-algo line count measured?

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

What commit was counted for krahets/hello-algo?

This OctoCounts report was generated from main at commit ded7ddc63514 on November 15, 2026.

Similar repository reports

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

Play the growth animation for krahets/hello-algo on this page — 359,409 code lines across 29 languages, counted by tokei.