# swc-project/swc SLOC report

> swc-project/swc: 1,618,754 code lines at commit ee2cd8a10c1d, counted with tokei-14.0.0 on 2026-10-22. Saved result ee0fc2a47d0f1f3fa02a4136a4fd204c9e0ca804c134ff88d57373ef95c898e3.

swc-project/swc has 1,618,754 source lines of code out of 1,988,647 total lines across 1,899 files, counted from the main ref at commit ee2cd8a10c1d by the OctoCounts tokei engine on 2026-10-22. 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 swc-project/swc to commit ee2cd8a10c1d, 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 81.4% of all lines, comments represent 9.6%, and the repository averages 852 code lines per file. JavaScript accounts for 43.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 220 | 881,480 | 701,819 | 101,982 | 77,679 |
| TypeScript | 33 | 551,922 | 442,646 | 67,894 | 41,382 |
| Rust | 1,177 | 391,118 | 328,674 | 15,865 | 46,579 |
| JSON | 93 | 73,584 | 73,474 | 0 | 110 |
| TSX | 4 | 31,853 | 28,095 | 615 | 3,143 |
| CSS | 3 | 18,542 | 15,915 | 181 | 2,446 |
| YAML | 6 | 15,855 | 14,276 | 8 | 1,571 |
| HTML | 3 | 8,858 | 8,064 | 0 | 794 |
| TOML | 142 | 6,107 | 4,956 | 313 | 838 |
| Shell | 92 | 1,382 | 803 | 251 | 328 |
| Python | 1 | 38 | 32 | 3 | 3 |
| Markdown | 124 | 7,887 | 0 | 3,772 | 4,115 |
| Plain Text | 1 | 21 | 0 | 10 | 11 |

Top language (JavaScript 43.4%). Generated at 2026-10-22T04:03:55.232535888Z. Canonical report: https://octocounts.com/github/swc-project/swc/commit/ee2cd8a10c1d022c13ffeda53fc6b984abca12b8?reportId=ee0fc2a47d0f1f3fa02a4136a4fd204c9e0ca804c134ff88d57373ef95c898e3&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

### How many lines of code does swc-project/swc have?

swc-project/swc has 1,988,647 total lines, including 1,618,754 code lines, 190,894 comment lines, and 178,999 blank lines.

### How was the swc-project/swc line count measured?

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

### What commit was counted for swc-project/swc?

This OctoCounts report was generated from main at commit ee2cd8a10c1d on 2026-10-22T04:03:55.232535888Z.

## Similar repository reports

- [highcharts/highcharts](https://octocounts.com/github/highcharts/highcharts) — JavaScript, 1,808,123 code lines
- [usmannasir/cyberpanel](https://octocounts.com/github/usmannasir/cyberpanel) — JavaScript, 1,400,337 code lines
- [microsoft/TypeScript](https://octocounts.com/github/microsoft/TypeScript) — JavaScript, 1,263,441 code lines
- [Gracker/SmartPerfetto](https://octocounts.com/github/Gracker/SmartPerfetto) — JavaScript, 966,482 code lines
- [chengzuopeng/game-space](https://octocounts.com/github/chengzuopeng/game-space) — JavaScript, 2,714,761 code lines
- [4ian/GDevelop](https://octocounts.com/github/4ian/GDevelop) — JavaScript, 859,031 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)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [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)
