# swc-project/swc SLOC report

> As of 2026-09-16 (commit 81e0d7d4119a), swc-project/swc contains 1,984,273 total lines: 1,615,015 code, 190,571 comments, 178,687 blank, across 1,866 files in 13 languages (top: JavaScript 43.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

swc-project/swc has 1,615,015 source lines of code out of 1,984,273 total lines across 1,866 files, counted from the 81e0d7d4119a1e45c1750621e8c54558089a5d9b ref at commit 81e0d7d4119a by the OctoCounts tokei engine on 2026-09-16. 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 81e0d7d4119a, 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 865 code lines per file. JavaScript accounts for 43.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 211 | 880,423 | 700,842 | 101,948 | 77,633 |
| TypeScript | 32 | 551,909 | 442,635 | 67,892 | 41,382 |
| Rust | 1,154 | 387,788 | 325,622 | 15,760 | 46,406 |
| JSON | 93 | 73,581 | 73,471 | 0 | 110 |
| TSX | 4 | 31,853 | 28,095 | 615 | 3,143 |
| CSS | 3 | 18,542 | 15,915 | 181 | 2,446 |
| YAML | 6 | 16,182 | 14,582 | 8 | 1,592 |
| HTML | 3 | 8,858 | 8,064 | 0 | 794 |
| TOML | 142 | 6,092 | 4,954 | 305 | 833 |
| Shell | 92 | 1,382 | 803 | 251 | 328 |
| Python | 1 | 38 | 32 | 3 | 3 |
| Markdown | 124 | 7,604 | 0 | 3,598 | 4,006 |

Top language (JavaScript 43.4%). Generated at 2026-09-16T12:17:36.913370895+00:00. Canonical report: https://octocounts.com/github/swc-project/swc

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/swc-project/swc/commit/81e0d7d4119a1e45c1750621e8c54558089a5d9b?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 swc-project/swc have?

swc-project/swc has 1,984,273 total lines, including 1,615,015 code lines, 190,571 comment lines, and 178,687 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 81e0d7d4119a, 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 81e0d7d4119a1e45c1750621e8c54558089a5d9b at commit 81e0d7d4119a on 2026-09-16T12:17:36.913370895+00:00.

## Similar repository reports

- [highcharts/highcharts](https://octocounts.com/github/highcharts/highcharts) — JavaScript, 1,788,814 code lines
- [microsoft/TypeScript](https://octocounts.com/github/microsoft/TypeScript) — JavaScript, 1,794,163 code lines
- [usmannasir/cyberpanel](https://octocounts.com/github/usmannasir/cyberpanel) — JavaScript, 1,350,897 code lines
- [hospital-management-system-emr/hospital-management-system-emr-opensource](https://octocounts.com/github/hospital-management-system-emr/hospital-management-system-emr-opensource) — JavaScript, 1,921,657 code lines
- [Gracker/SmartPerfetto](https://octocounts.com/github/Gracker/SmartPerfetto) — JavaScript, 869,717 code lines
- [facebook/react-native](https://octocounts.com/github/facebook/react-native) — JavaScript, 590,523 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)
