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.
LibreOffice/core: 6,368,414 code lines at commit 8c2d379e4ce7, counted with tokei-15.0.0 on 2026-11-16. Saved result ed17fcc9440570d47e1e3889b3622ba612950df5a23ee2118db2b17ace9c399b.
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.
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++ | 10669 | 5606497 | 4352960 | 532504 | 721033 |
| C++ Header | 10093 | 1261070 | 704395 | 350310 | 206365 |
| XML | 5404 | 556535 | 535586 | 17310 | 3639 |
| Java | 1182 | 251782 | 165071 | 53725 | 32986 |
| Makefile | 2948 | 171969 | 112036 | 34996 | 24937 |
| Python | 1022 | 131467 | 91105 | 19644 | 20718 |
| SVG | 45020 | 78570 | 74032 | 219 | 4319 |
| Module-Definition | 24 | 71159 | 71121 | 4 | 34 |
| XSL | 81 | 77363 | 69924 | 5658 | 1781 |
| C Header | 618 | 88609 | 47787 | 31079 | 9743 |
| Perl | 118 | 44940 | 29732 | 6938 | 8270 |
| JavaScript | 14 | 23590 | 17228 | 3318 | 3044 |
| Objective-C++ | 59 | 16373 | 11645 | 2308 | 2420 |
| HTML | 101 | 10600 | 9913 | 268 | 419 |
| C | 45 | 13127 | 9608 | 2206 | 1313 |
| Happy | 2 | 9269 | 8897 | 0 | 372 |
| C# | 55 | 11876 | 8865 | 1654 | 1357 |
| YAML | 92 | 7193 | 5357 | 1836 | 0 |
| Shell | 90 | 7960 | 5343 | 1693 | 924 |
| Autoconf | 74 | 6379 | 5257 | 646 | 476 |
| Visual Basic | 113 | 6447 | 4322 | 1099 | 1026 |
| INI | 12 | 5680 | 4057 | 700 | 923 |
| PO File | 5 | 6380 | 3907 | 2026 | 447 |
| VB6/VBA | 183 | 6373 | 3749 | 1654 | 970 |
| Forge Config | 32 | 14354 | 3028 | 7914 | 3412 |
| Objective-C | 19 | 3172 | 1975 | 703 | 494 |
| BASH | 14 | 2086 | 1620 | 261 | 205 |
| Rust | 25 | 2133 | 1484 | 298 | 351 |
| GNU Style Assembly | 14 | 1560 | 1157 | 295 | 108 |
| Lex | 4 | 1458 | 1106 | 139 | 213 |
| M4 | 13 | 1340 | 992 | 285 | 63 |
| GLSL | 24 | 1553 | 989 | 320 | 244 |
| AWK | 12 | 1425 | 987 | 334 | 104 |
| CSS | 22 | 1229 | 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 | 7523 | 0 | 5498 | 2025 |
| Plain Text | 279 | 290911 | 0 | 286675 | 4236 |
| ReScript | 1 | 0 | 0 | 0 | 0 |
Top language: C++ 68.4%. Generated on .
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.
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.
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.
This OctoCounts report was generated from master at commit 8c2d379e4ce7 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for LibreOffice/core on this page — 6,368,414 code lines across 53 languages, counted by tokei.