magnitudedev/magnitude has 1,116,720 source lines of code out of 1,270,196 total lines across 5,321 files, counted from the main ref at commit 2a481f7c5d3c by the OctoCounts tokei engine on 2026-10-05. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-05 (commit 2a481f7c5d3c), magnitudedev/magnitude contains 1,270,196 total lines: 1,116,720 code, 67,165 comments, 86,311 blank, across 5,321 files in 26 languages (top: Rust 60.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving magnitudedev/magnitude to commit 2a481f7c5d3c, 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.
This is a very large codebase by counted code lines. Code represents 87.9% of all lines, comments represent 5.3%, and the repository averages 210 code lines per file. Rust accounts for 60.7% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Rust | 1370 | 719614 | 678283 | 7806 | 33525 |
| TypeScript | 1610 | 191565 | 163110 | 11034 | 17421 |
| Python | 861 | 118038 | 103564 | 1449 | 13025 |
| C++ | 117 | 57525 | 48867 | 2647 | 6011 |
| JSON | 154 | 21838 | 21834 | 0 | 4 |
| C Header | 113 | 27906 | 21001 | 3745 | 3160 |
| GLSL | 136 | 21001 | 16785 | 2941 | 1275 |
| Metal Shading Language | 136 | 20352 | 14933 | 3956 | 1463 |
| TSX | 100 | 15593 | 14627 | 345 | 621 |
| CUDA | 104 | 12159 | 10126 | 1245 | 788 |
| Jinja2 | 69 | 9451 | 8580 | 339 | 532 |
| C | 26 | 4763 | 4551 | 95 | 117 |
Top language (Rust 60.7%). Generated at .
magnitudedev/magnitude has 1,270,196 total lines, including 1,116,720 code lines, 67,165 comment lines, and 86,311 blank lines.
OctoCounts resolved the public GitHub repository to commit 2a481f7c5d3c, 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 2a481f7c5d3c on 2026-10-05T15:53:25.407499540+00:00.
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 — 1,116,720 code lines across 12 languages, counted by tokei.