# google/skia SLOC report

> google/skia: 1,593,441 code lines at commit 6a2e5927fcae, counted with tokei-15.0.0 on 2026-11-22. Saved result b83ce1ee98742bdf2489f22e30a489aa5d93c4a8a3b9c31c7363d98908a99551.

google/skia has 1,593,441 source lines of code out of 1,985,690 total lines across 6,085 files, counted with tokei from the main ref at commit 6a2e5927fcae on November 22, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving google/skia to commit 6a2e5927fcae, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

google/skia: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 80.2% of all lines, comments represent 9.2%, and the repository averages 262 code lines per file. C++ accounts for 34.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 2,334 | 705,074 | 547,514 | 69,086 | 88,474 |
| JSON | 345 | 389,685 | 389,645 | 0 | 40 |
| C++ Header | 14 | 399,335 | 330,152 | 15,380 | 53,803 |
| C Header | 2,000 | 306,297 | 187,068 | 71,225 | 48,004 |
| Bazel | 350 | 30,819 | 26,959 | 1,552 | 2,308 |
| Go | 84 | 24,316 | 19,392 | 2,540 | 2,384 |
| Python | 321 | 27,041 | 19,088 | 3,200 | 4,753 |
| Bitbake | 5 | 16,981 | 16,472 | 57 | 452 |
| Objective-C++ | 77 | 15,947 | 12,443 | 1,188 | 2,316 |
| JavaScript | 64 | 13,393 | 10,571 | 1,483 | 1,339 |
| SVG | 16 | 10,588 | 10,560 | 15 | 13 |
| Rust | 28 | 11,431 | 9,647 | 560 | 1,224 |
| TypeScript | 14 | 6,430 | 2,620 | 3,155 | 655 |
| Shell | 80 | 3,336 | 1,988 | 830 | 518 |
| HTML | 49 | 2,263 | 1,975 | 72 | 216 |
| Java | 16 | 2,374 | 1,899 | 172 | 303 |
| XML | 30 | 1,384 | 1,170 | 146 | 68 |
| C++ Module | 2 | 1,381 | 977 | 198 | 206 |
| C | 1 | 848 | 786 | 55 | 7 |
| BASH | 21 | 833 | 496 | 194 | 143 |
| Dockerfile | 25 | 738 | 444 | 176 | 118 |
| Makefile | 21 | 541 | 423 | 31 | 87 |
| CSS | 2 | 497 | 415 | 12 | 70 |
| SQL | 1 | 269 | 233 | 4 | 32 |
| TOML | 6 | 264 | 130 | 87 | 47 |
| Forge Config | 5 | 138 | 119 | 12 | 7 |
| GLSL | 15 | 116 | 93 | 6 | 17 |
| Lex | 1 | 103 | 92 | 10 | 1 |
| Protocol Buffers | 1 | 64 | 31 | 19 | 14 |
| PowerShell | 1 | 48 | 22 | 15 | 11 |
| Objective-C | 1 | 19 | 11 | 6 | 2 |
| CMake | 1 | 10 | 6 | 0 | 4 |
| Markdown | 105 | 7,620 | 0 | 5,810 | 1,810 |
| Plain Text | 49 | 5,507 | 0 | 5,457 | 50 |

Top language: C++ 34.4%. Generated on November 22, 2026. Canonical report: https://octocounts.com/github/google/skia/commit/6a2e5927fcae14feff7e1e906d1a3ca8a5619292?reportId=b83ce1ee98742bdf2489f22e30a489aa5d93c4a8a3b9c31c7363d98908a99551&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/google/skia/commit/6a2e5927fcae14feff7e1e906d1a3ca8a5619292?reportId=b83ce1ee98742bdf2489f22e30a489aa5d93c4a8a3b9c31c7363d98908a99551&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 google/skia have?

google/skia has 1,593,441 lines of code, plus 182,753 comment lines and 209,496 blank lines, for 1,985,690 total lines at commit 6a2e5927fcae on November 22, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the google/skia line count measured?

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

### What commit was counted for google/skia?

This OctoCounts report was generated from main at commit 6a2e5927fcae on November 22, 2026.

## Similar repository reports

- [opencv/opencv](https://octocounts.com/github/opencv/opencv) — C++, 1,582,263 code lines
- [LostRuins/koboldcpp](https://octocounts.com/github/LostRuins/koboldcpp) — C++, 1,611,038 code lines
- [C-GBL/P3FES-Decompilation](https://octocounts.com/github/C-GBL/P3FES-Decompilation) — C++, 1,631,711 code lines
- [arangodb/arangodb](https://octocounts.com/github/arangodb/arangodb) — C++, 1,673,506 code lines
- [Fincept-Corporation/FinceptTerminal](https://octocounts.com/github/Fincept-Corporation/FinceptTerminal) — C++, 1,514,267 code lines
- [sarahkittyy/brawlonline.net](https://octocounts.com/github/sarahkittyy/brawlonline.net) — C++, 1,489,287 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
