# electron/electron SLOC report

> As of 2026-08-31 (commit af2dcbc7f042), electron/electron contains 253,997 total lines: 198,375 code, 19,371 comments, 36,251 blank, across 1,230 files in 13 languages (top: C++ 39.3%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving electron/electron to commit af2dcbc7f042, 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 78.1% of all lines, comments represent 7.6%, and the repository averages 161 code lines per file. C++ accounts for 39.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 386 | 100,693 | 77,904 | 8,341 | 14,448 |
| TypeScript | 238 | 90,082 | 75,636 | 3,463 | 10,983 |
| C Header | 421 | 34,510 | 22,822 | 4,624 | 7,064 |
| Objective-C++ | 60 | 13,358 | 9,874 | 1,338 | 2,146 |
| JavaScript | 41 | 6,672 | 5,372 | 709 | 591 |
| JSON | 25 | 3,016 | 3,008 | 0 | 8 |
| Python | 35 | 3,728 | 2,826 | 270 | 632 |
| Shell | 10 | 715 | 577 | 47 | 91 |
| XML | 1 | 138 | 138 | 0 | 0 |
| CSS | 1 | 155 | 131 | 0 | 24 |
| HTML | 1 | 91 | 87 | 0 | 4 |
| Markdown | 10 | 833 | 0 | 573 | 260 |

Top language (C++ 39.3%). Generated at 2026-08-31T09:51:00.460184529+00:00. Canonical report: https://octocounts.com/github/electron/electron

## Report FAQ

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

electron/electron has 253,997 total lines, including 198,375 code lines, 19,371 comment lines, and 36,251 blank lines.

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

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

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

This OctoCounts report was generated from main at commit af2dcbc7f042 on 2026-08-31T09:51:00.460184529+00:00.

## Similar repository reports

- [rsta2/circle](https://octocounts.com/github/rsta2/circle) — C++, 201,265 code lines
- [HIllya51/LunaTranslator](https://octocounts.com/github/HIllya51/LunaTranslator) — C++, 192,154 code lines
- [uncrustify/uncrustify](https://octocounts.com/github/uncrustify/uncrustify) — C++, 190,910 code lines
- [KhronosGroup/Vulkan-Samples](https://octocounts.com/github/KhronosGroup/Vulkan-Samples) — C++, 184,498 code lines
- [aseprite/aseprite](https://octocounts.com/github/aseprite/aseprite) — C++, 183,889 code lines
- [microsoft/WSL](https://octocounts.com/github/microsoft/WSL) — C++, 213,723 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
