# LibreOffice/core SLOC report

> LibreOffice/core: 6,348,402 code lines at commit 3da426d2f2d5, counted with tokei-14.0.0 on 2026-10-21. Saved result 6ae0d4707f17f47d607b4e15a2576f88d9e703983afe0387ac4d4d018206f8fc.

LibreOffice/core has 6,348,402 source lines of code out of 8,776,555 total lines across 78,654 files, counted from the master ref at commit 3da426d2f2d5 by the OctoCounts tokei engine on 2026-10-21. 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 LibreOffice/core to commit 3da426d2f2d5, 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 72.3% of all lines, comments represent 15.6%, and the repository averages 81 code lines per file. C++ accounts for 68.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 10,656 | 5,580,610 | 4,333,032 | 528,503 | 719,075 |
| C++ Header | 10,083 | 1,260,022 | 704,205 | 349,610 | 206,207 |
| XML | 5,404 | 556,487 | 535,537 | 17,310 | 3,640 |
| Java | 1,183 | 252,390 | 165,479 | 53,829 | 33,082 |
| Makefile | 2,934 | 171,022 | 111,346 | 34,875 | 24,801 |
| Python | 1,016 | 130,868 | 90,691 | 19,546 | 20,631 |
| SVG | 45,006 | 78,541 | 74,003 | 219 | 4,319 |
| Module-Definition | 24 | 71,159 | 71,121 | 4 | 34 |
| XSL | 81 | 77,363 | 69,924 | 5,658 | 1,781 |
| C Header | 622 | 88,776 | 47,865 | 31,141 | 9,770 |
| Perl | 118 | 44,940 | 29,732 | 6,938 | 8,270 |
| JavaScript | 14 | 23,590 | 17,228 | 3,318 | 3,044 |
| Objective-C++ | 59 | 16,373 | 11,645 | 2,308 | 2,420 |
| C | 49 | 14,294 | 10,450 | 2,346 | 1,498 |
| HTML | 98 | 10,586 | 9,899 | 268 | 419 |
| Happy | 2 | 9,269 | 8,897 | 0 | 372 |
| C# | 55 | 11,876 | 8,865 | 1,654 | 1,357 |
| YAML | 92 | 7,193 | 5,357 | 1,836 | 0 |
| Shell | 90 | 7,941 | 5,327 | 1,690 | 924 |
| Autoconf | 74 | 6,372 | 5,252 | 645 | 475 |
| Visual Basic | 113 | 6,447 | 4,322 | 1,099 | 1,026 |
| INI | 12 | 5,680 | 4,057 | 700 | 923 |
| PO File | 5 | 6,380 | 3,907 | 2,026 | 447 |
| VB6/VBA | 183 | 6,373 | 3,749 | 1,654 | 970 |
| Forge Config | 32 | 14,354 | 3,028 | 7,914 | 3,412 |
| Objective-C | 19 | 3,172 | 1,975 | 703 | 494 |
| BASH | 14 | 2,086 | 1,620 | 261 | 205 |
| Rust | 25 | 2,133 | 1,484 | 298 | 351 |
| GNU Style Assembly | 14 | 1,560 | 1,157 | 295 | 108 |
| Lex | 4 | 1,458 | 1,106 | 139 | 213 |
| M4 | 13 | 1,340 | 992 | 285 | 63 |
| GLSL | 24 | 1,553 | 989 | 320 | 244 |
| AWK | 12 | 1,425 | 987 | 334 | 104 |
| CSS | 22 | 1,229 | 870 | 307 | 52 |
| Bitbake | 3 | 652 | 421 | 144 | 87 |
| Pascal | 2 | 561 | 397 | 87 | 77 |
| RPM Specfile | 2 | 452 | 330 | 85 | 37 |
| Kotlin | 3 | 382 | 302 | 38 | 42 |
| Batch | 6 | 237 | 197 | 0 | 40 |
| JSON | 4 | 119 | 119 | 0 | 0 |
| TOML | 6 | 157 | 115 | 20 | 22 |
| Visual Studio Project | 1 | 108 | 108 | 0 | 0 |
| VBScript | 2 | 197 | 92 | 69 | 36 |
| F# | 1 | 139 | 76 | 32 | 31 |
| MSBuild | 4 | 57 | 53 | 0 | 4 |
| Assembly | 2 | 159 | 48 | 77 | 34 |
| Visual Studio Solution | 1 | 25 | 24 | 0 | 1 |
| Templ | 1 | 27 | 10 | 17 | 0 |
| NuGet Config | 1 | 6 | 6 | 0 | 0 |
| Stratego/XT | 3 | 6 | 6 | 0 | 0 |
| Markdown | 180 | 7,519 | 0 | 5,496 | 2,023 |
| Plain Text | 279 | 290,890 | 0 | 286,654 | 4,236 |
| ReScript | 1 | 0 | 0 | 0 | 0 |

Top language (C++ 68.3%). Generated at 2026-10-21T03:48:54.626329690Z. Canonical report: https://octocounts.com/github/LibreOffice/core/commit/3da426d2f2d557813e712b4ba25a5eedc822e2ac?reportId=6ae0d4707f17f47d607b4e15a2576f88d9e703983afe0387ac4d4d018206f8fc&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/LibreOffice/core/commit/3da426d2f2d557813e712b4ba25a5eedc822e2ac?reportId=6ae0d4707f17f47d607b4e15a2576f88d9e703983afe0387ac4d4d018206f8fc&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 LibreOffice/core have?

LibreOffice/core has 8,776,555 total lines, including 6,348,402 code lines, 1,370,752 comment lines, and 1,057,401 blank lines.

### How was the LibreOffice/core line count measured?

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

### What commit was counted for LibreOffice/core?

This OctoCounts report was generated from master at commit 3da426d2f2d5 on 2026-10-21T03:48:54.626329690Z.

## Similar repository reports

- [oceanbase/oceanbase](https://octocounts.com/github/oceanbase/oceanbase) — C++, 6,382,583 code lines
- [GaijinEntertainment/DagorEngine](https://octocounts.com/github/GaijinEntertainment/DagorEngine) — C++, 6,667,007 code lines
- [mongodb/mongo](https://octocounts.com/github/mongodb/mongo) — C++, 7,575,175 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,160,365 code lines
- [llvm/llvm-project](https://octocounts.com/github/llvm/llvm-project) — C++, 8,330,667 code lines
- [godotengine/godot](https://octocounts.com/github/godotengine/godot) — C++, 4,126,326 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)
