# electron/electron SLOC report

> As of 2026-09-16 (commit 1212a7b0a731), electron/electron contains 266,272 total lines: 208,094 code, 20,987 comments, 37,191 blank, across 1,263 files in 14 languages (top: C++ 40.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

electron/electron has 208,094 source lines of code out of 266,272 total lines across 1,263 files, counted from the 1212a7b0a731f8f7ca6bd5d9560f62f173ddb720 ref at commit 1212a7b0a731 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 electron/electron to commit 1212a7b0a731, 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.2% of all lines, comments represent 7.9%, and the repository averages 165 code lines per file. C++ accounts for 40.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 399 | 107,960 | 83,858 | 9,052 | 15,050 |
| TypeScript | 236 | 92,138 | 77,295 | 3,760 | 11,083 |
| C Header | 431 | 35,967 | 23,771 | 4,929 | 7,267 |
| Objective-C++ | 61 | 13,436 | 9,924 | 1,352 | 2,160 |
| JavaScript | 42 | 6,976 | 5,585 | 786 | 605 |
| JSON | 27 | 3,899 | 3,891 | 0 | 8 |
| Python | 34 | 3,698 | 2,801 | 286 | 611 |
| Shell | 11 | 764 | 603 | 66 | 95 |
| XML | 1 | 138 | 138 | 0 | 0 |
| CSS | 2 | 160 | 136 | 0 | 24 |
| HTML | 1 | 91 | 87 | 0 | 4 |
| SVG | 5 | 5 | 5 | 0 | 0 |

Top language (C++ 40.3%). Generated at 2026-09-16T18:02:50.604719160+00:00. Canonical report: https://octocounts.com/github/electron/electron

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/electron/electron/commit/1212a7b0a731f8f7ca6bd5d9560f62f173ddb720?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 electron/electron have?

electron/electron has 266,272 total lines, including 208,094 code lines, 20,987 comment lines, and 37,191 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 1212a7b0a731, 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 1212a7b0a731f8f7ca6bd5d9560f62f173ddb720 at commit 1212a7b0a731 on 2026-09-16T18:02:50.604719160+00:00.

## Similar repository reports

- [Gerate-Technik/zkgram](https://octocounts.com/github/Gerate-Technik/zkgram) — C++, 206,979 code lines
- [vicinaehq/vicinae](https://octocounts.com/github/vicinaehq/vicinae) — C++, 212,201 code lines
- [rsta2/circle](https://octocounts.com/github/rsta2/circle) — C++, 201,265 code lines
- [abseil/abseil-cpp](https://octocounts.com/github/abseil/abseil-cpp) — C++, 217,709 code lines
- [yumlevi/renodx-dlss-installer](https://octocounts.com/github/yumlevi/renodx-dlss-installer) — C++, 220,151 code lines
- [KhronosGroup/Vulkan-Samples](https://octocounts.com/github/KhronosGroup/Vulkan-Samples) — C++, 187,205 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)
- [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)
