# compiler-explorer/compiler-explorer SLOC report

> As of 2026-09-17 (commit 97055b043ed6), compiler-explorer/compiler-explorer contains 3,002,566 total lines: 2,942,969 code, 32,938 comments, 26,659 blank, across 2,232 files in 70 languages (top: JSON 85.1%). Default configuration. Counted with tokei via OctoCounts.

compiler-explorer/compiler-explorer has 2,942,969 source lines of code out of 3,002,566 total lines across 2,232 files, counted from the main ref at commit 97055b043ed6 by the OctoCounts tokei engine on 2026-09-17. 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 97055b043ed6, 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 very large codebase by counted code lines. Code represents 98.0% of all lines, comments represent 1.1%, and the repository averages 1,319 code lines per file. JSON accounts for 85.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JSON | 819 | 2,503,343 | 2,503,343 | 0 | 0 |
| Assembly | 119 | 223,232 | 222,370 | 216 | 646 |
| TypeScript | 851 | 194,343 | 147,908 | 26,396 | 20,039 |
| GNU Style Assembly | 2 | 40,749 | 39,514 | 0 | 1,235 |
| Forge Config | 3 | 9,341 | 9,188 | 80 | 73 |
| Python | 41 | 9,414 | 7,030 | 1,005 | 1,379 |
| Sass | 11 | 5,654 | 4,511 | 164 | 979 |
| SVG | 74 | 3,981 | 3,886 | 61 | 34 |
| Pug | 82 | 2,169 | 1,991 | 18 | 160 |
| YAML | 3 | 640 | 640 | 0 | 0 |
| C++ | 35 | 827 | 602 | 80 | 145 |
| JavaScript | 6 | 272 | 183 | 54 | 35 |

Top language (JSON 85.1%). Generated at 2026-09-17T15:07:01.433359913+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/97055b043ed6f4058117d63f60380762448d3225?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

### How many lines of code does compiler-explorer/compiler-explorer have?

compiler-explorer/compiler-explorer has 3,002,566 total lines, including 2,942,969 code lines, 32,938 comment lines, and 26,659 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 97055b043ed6, 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 97055b043ed6 on 2026-09-17T15:07:01.433359913+00:00.

## Similar repository reports

- [bitwarden/clients](https://octocounts.com/github/bitwarden/clients) — JSON, 2,922,655 code lines
- [ChromeDevTools/devtools-frontend](https://octocounts.com/github/ChromeDevTools/devtools-frontend) — JSON, 2,767,483 code lines
- [cleverraven/cataclysm-dda](https://octocounts.com/github/cleverraven/cataclysm-dda) — JSON, 2,742,491 code lines
- [FULU-Foundation/OrcaSlicer-bambulab](https://octocounts.com/github/FULU-Foundation/OrcaSlicer-bambulab) — JSON, 3,358,115 code lines
- [plasmicapp/plasmic](https://octocounts.com/github/plasmicapp/plasmic) — JSON, 3,443,740 code lines
- [antirez/ds4](https://octocounts.com/github/antirez/ds4) — JSON, 3,574,934 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)
