magnitudedev/magnitude has 957,522 source lines of code out of 1,077,659 total lines across 3,976 files, counted with tokei from the main ref at commit 6c0cf5235345 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-16 (commit 6c0cf5235345), magnitudedev/magnitude contains 1,077,659 total lines: 957,522 code, 50,302 comments, 69,835 blank, across 3,976 files in 28 languages (top language: Rust 66.5%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving magnitudedev/magnitude to commit 6c0cf5235345, 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.
This is a large codebase by counted code lines. Code represents 88.9% of all lines, comments represent 4.7%, and the repository averages 241 code lines per file. Rust accounts for 66.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 1141 | 689086 | 637098 | 14812 | 37176 |
| TypeScript | 1638 | 206343 | 175135 | 12884 | 18324 |
| Python | 171 | 35133 | 30191 | 797 | 4145 |
| JSON | 102 | 21347 | 21343 | 0 | 4 |
| C Header | 79 | 28202 | 20977 | 5170 | 2055 |
| C++ | 40 | 19468 | 16525 | 1016 | 1927 |
| GLSL | 172 | 19745 | 14624 | 3846 | 1275 |
| Metal Shading Language | 132 | 16681 | 12785 | 2852 | 1044 |
| TSX | 79 | 8462 | 7773 | 281 | 408 |
| CUDA | 125 | 9529 | 7683 | 1240 | 606 |
| C | 26 | 4841 | 4614 | 109 | 118 |
| Swift | 12 | 1793 | 1667 | 74 | 52 |
Top language: Rust 66.5%. Generated on .
magnitudedev/magnitude: 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.
magnitudedev/magnitude has 957,522 lines of code, plus 50,302 comment lines and 69,835 blank lines, for 1,077,659 total lines at commit 6c0cf5235345 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 6c0cf5235345, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from main at commit 6c0cf5235345 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for magnitudedev/magnitude on this page — 957,522 code lines across 28 languages, counted by tokei.