# compiler-explorer/compiler-explorer SLOC report

> As of 2026-10-08 (commit 11c23fb5b925), compiler-explorer/compiler-explorer contains 166,302 total lines: 125,013 code, 25,621 comments, 15,668 blank, across 1,095 files in 68 languages (top: TypeScript 72.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

compiler-explorer/compiler-explorer has 125,013 source lines of code out of 166,302 total lines across 1,095 files, counted from the main ref at commit 11c23fb5b925 by the OctoCounts tokei engine on 2026-10-08. 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 compiler-explorer/compiler-explorer to commit 11c23fb5b925, 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 75.2% of all lines, comments represent 15.4%, and the repository averages 114 code lines per file. TypeScript accounts for 72.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 713 | 125,768 | 90,644 | 22,806 | 12,318 |
| JSON | 20 | 15,392 | 15,392 | 0 | 0 |
| Python | 43 | 9,960 | 7,488 | 1,014 | 1,458 |
| Sass | 11 | 5,610 | 4,475 | 164 | 971 |
| SVG | 72 | 1,918 | 1,827 | 58 | 33 |
| Pug | 79 | 1,902 | 1,775 | 16 | 111 |
| YAML | 3 | 648 | 648 | 0 | 0 |
| Forge Config | 2 | 550 | 397 | 80 | 73 |
| Assembly | 5 | 420 | 300 | 95 | 25 |
| C++ | 13 | 296 | 193 | 49 | 54 |
| JavaScript | 6 | 272 | 183 | 54 | 35 |
| Shell | 5 | 272 | 183 | 47 | 42 |

Top language (TypeScript 72.5%). Generated at 2026-10-08T23:42:03.524834766+00:00. Canonical report: https://octocounts.com/github/compiler-explorer/compiler-explorer

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/compiler-explorer/compiler-explorer/commit/11c23fb5b925a1d41f003b3bf3fae1fbf4ff9eb0?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 compiler-explorer/compiler-explorer have?

compiler-explorer/compiler-explorer has 166,302 total lines, including 125,013 code lines, 25,621 comment lines, and 15,668 blank lines.

### How was the compiler-explorer/compiler-explorer line count measured?

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

### What commit was counted for compiler-explorer/compiler-explorer?

This OctoCounts report was generated from main at commit 11c23fb5b925 on 2026-10-08T23:42:03.524834766+00:00.

## Similar repository reports

- [ueberdosis/tiptap](https://octocounts.com/github/ueberdosis/tiptap) — TypeScript, 125,054 code lines
- [h-arnold/AssessmentBot](https://octocounts.com/github/h-arnold/AssessmentBot) — TypeScript, 123,455 code lines
- [monid-ai/monid](https://octocounts.com/github/monid-ai/monid) — TypeScript, 127,301 code lines
- [withastro/astro](https://octocounts.com/github/withastro/astro) — TypeScript, 128,232 code lines
- [TythonSK/AssessmentBot](https://octocounts.com/github/TythonSK/AssessmentBot) — TypeScript, 120,886 code lines
- [cloudflare/computer](https://octocounts.com/github/cloudflare/computer) — TypeScript, 120,678 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)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [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)
