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.
As of 2026-10-21 (commit 3da426d2f2d5), LibreOffice/core contains 8,776,555 total lines: 6,348,402 code, 1,370,752 comments, 1,057,401 blank, across 78,654 files in 53 languages (top: C++ 68.3%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
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.
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++ | 10656 | 5580610 | 4333032 | 528503 | 719075 |
| C++ Header | 10083 | 1260022 | 704205 | 349610 | 206207 |
| XML | 5404 | 556487 | 535537 | 17310 | 3640 |
| Java | 1183 | 252390 | 165479 | 53829 | 33082 |
| Makefile | 2934 | 171022 | 111346 | 34875 | 24801 |
| Python | 1016 | 130868 | 90691 | 19546 | 20631 |
| SVG | 45006 | 78541 | 74003 | 219 | 4319 |
| Module-Definition | 24 | 71159 | 71121 | 4 | 34 |
| XSL | 81 | 77363 | 69924 | 5658 | 1781 |
| C Header | 622 | 88776 | 47865 | 31141 | 9770 |
| Perl | 118 | 44940 | 29732 | 6938 | 8270 |
| JavaScript | 14 | 23590 | 17228 | 3318 | 3044 |
Top language (C++ 68.3%). Generated at .
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.
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.
This OctoCounts report was generated from master at commit 3da426d2f2d5 on 2026-10-21T03:48:54.626329690+00:00.
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,348,402 code lines across 12 languages, counted by tokei.