# modular/modular SLOC report

> As of 2026-09-13 (commit ced5eb7568c9), modular/modular contains 1,264,542 total lines: 853,799 code, 297,492 comments, 113,251 blank, across 2,901 files in 17 languages (top: Mojo 61.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

modular/modular has 853,799 source lines of code out of 1,264,542 total lines across 2,901 files, counted from the ced5eb7568c98d477af0975f48c056b7028b0524 ref at commit ced5eb7568c9 by the OctoCounts tokei engine on 2026-09-13. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving modular/modular to commit ced5eb7568c9, 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 67.5% of all lines, comments represent 23.5%, and the repository averages 294 code lines per file. Mojo accounts for 61.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Mojo | 1,029 | 631,764 | 524,056 | 45,739 | 61,969 |
| Python | 1,319 | 343,524 | 274,979 | 29,841 | 38,704 |
| Bazel | 208 | 47,124 | 42,110 | 482 | 4,532 |
| YAML | 125 | 8,984 | 6,452 | 1,913 | 619 |
| HTML | 5 | 4,473 | 2,870 | 120 | 1,483 |
| TOML | 21 | 939 | 778 | 52 | 109 |
| Shell | 21 | 1,241 | 716 | 342 | 183 |
| JSON | 4 | 625 | 625 | 0 | 0 |
| C | 3 | 722 | 504 | 112 | 106 |
| C Header | 9 | 1,168 | 266 | 786 | 116 |
| CUDA | 1 | 184 | 154 | 7 | 23 |
| Jinja2 | 2 | 133 | 105 | 14 | 14 |

Top language (Mojo 61.4%). Generated at 2026-09-13T22:25:40.983147255+00:00. Canonical report: https://octocounts.com/github/modular/modular

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/modular/modular/commit/ced5eb7568c98d477af0975f48c056b7028b0524?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does modular/modular have?

modular/modular has 1,264,542 total lines, including 853,799 code lines, 297,492 comment lines, and 113,251 blank lines.

### How was the modular/modular line count measured?

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

### What commit was counted for modular/modular?

This OctoCounts report was generated from ced5eb7568c98d477af0975f48c056b7028b0524 at commit ced5eb7568c9 on 2026-09-13T22:25:40.983147255+00:00.

## Similar repository reports

- [OpenRCT2/OpenRCT2](https://octocounts.com/github/OpenRCT2/OpenRCT2) — C++, 854,277 code lines
- [WitherAce/Pleasure-Horizons](https://octocounts.com/github/WitherAce/Pleasure-Horizons) — JSON, 855,518 code lines
- [apache/druid](https://octocounts.com/github/apache/druid) — Java, 851,543 code lines
- [apache/Druid](https://octocounts.com/github/apache/Druid) — Java, 851,530 code lines
- [volcengine/openviking](https://octocounts.com/github/volcengine/openviking) — Python, 848,685 code lines
- [ente/ente](https://octocounts.com/github/ente/ente) — Dart, 862,618 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
