# LibreOffice/core SLOC report

> LibreOffice/core: 6,368,414 code lines at commit 8c2d379e4ce7, counted with tokei-15.0.0 on 2026-11-16. Saved result ed17fcc9440570d47e1e3889b3622ba612950df5a23ee2118db2b17ace9c399b.

LibreOffice/core has 6,368,414 source lines of code out of 8,803,241 total lines across 78,705 files, counted with tokei from the master ref at commit 8c2d379e4ce7 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving LibreOffice/core to commit 8c2d379e4ce7, 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

LibreOffice/core: 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 72.3% of all lines, comments represent 15.6%, and the repository averages 81 code lines per file. C++ accounts for 68.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 10,669 | 5,606,497 | 4,352,960 | 532,504 | 721,033 |
| C++ Header | 10,093 | 1,261,070 | 704,395 | 350,310 | 206,365 |
| XML | 5,404 | 556,535 | 535,586 | 17,310 | 3,639 |
| Java | 1,182 | 251,782 | 165,071 | 53,725 | 32,986 |
| Makefile | 2,948 | 171,969 | 112,036 | 34,996 | 24,937 |
| Python | 1,022 | 131,467 | 91,105 | 19,644 | 20,718 |
| SVG | 45,020 | 78,570 | 74,032 | 219 | 4,319 |
| Module-Definition | 24 | 71,159 | 71,121 | 4 | 34 |
| XSL | 81 | 77,363 | 69,924 | 5,658 | 1,781 |
| C Header | 618 | 88,609 | 47,787 | 31,079 | 9,743 |
| 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 |
| HTML | 101 | 10,600 | 9,913 | 268 | 419 |
| C | 45 | 13,127 | 9,608 | 2,206 | 1,313 |
| 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,960 | 5,343 | 1,693 | 924 |
| Autoconf | 74 | 6,379 | 5,257 | 646 | 476 |
| 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 | 656 | 425 | 144 | 87 |
| Pascal | 2 | 561 | 397 | 87 | 77 |
| RPM Specfile | 2 | 452 | 330 | 85 | 37 |
| Kotlin | 3 | 383 | 303 | 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,523 | 0 | 5,498 | 2,025 |
| Plain Text | 279 | 290,911 | 0 | 286,675 | 4,236 |
| ReScript | 1 | 0 | 0 | 0 | 0 |

Top language: C++ 68.4%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/LibreOffice/core/commit/8c2d379e4ce72f42e4950b66aa109fc7e739ff06?reportId=ed17fcc9440570d47e1e3889b3622ba612950df5a23ee2118db2b17ace9c399b&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/8c2d379e4ce72f42e4950b66aa109fc7e739ff06?reportId=ed17fcc9440570d47e1e3889b3622ba612950df5a23ee2118db2b17ace9c399b&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 6,368,414 lines of code, plus 1,375,393 comment lines and 1,059,434 blank lines, for 8,803,241 total lines at commit 8c2d379e4ce7 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 8c2d379e4ce7, 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 8c2d379e4ce7 on November 16, 2026.

## Similar repository reports

- [oceanbase/oceanbase](https://octocounts.com/github/oceanbase/oceanbase) — C++, 6,445,596 code lines
- [GaijinEntertainment/DagorEngine](https://octocounts.com/github/GaijinEntertainment/DagorEngine) — C++, 6,701,537 code lines
- [google/filament](https://octocounts.com/github/google/filament) — C++, 7,430,089 code lines
- [luobochuanqi/llvm-project](https://octocounts.com/github/luobochuanqi/llvm-project) — C++, 7,466,206 code lines
- [tensorflow/tensorflow](https://octocounts.com/github/tensorflow/tensorflow) — C++, 5,300,257 code lines
- [mongodb/mongo](https://octocounts.com/github/mongodb/mongo) — C++, 7,655,692 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)
