As of 2026-08-14 (commit 31beb53f8e5a), LibreOffice/core contains 9,158,831 total lines: 6,587,027 code, 1,461,773 comments, 1,110,031 blank, across 81,002 files in 53 languages (top: C++ 67.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving LibreOffice/core to commit 31beb53f8e5a, 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 71.9% of all lines, comments represent 16.0%, and the repository averages 81 code lines per file. C++ accounts for 67.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 11146 | 5721621 | 4441564 | 541824 | 738233 |
| C++ Header | 10280 | 1268470 | 708575 | 351760 | 208135 |
| XML | 5474 | 584740 | 559601 | 18411 | 6728 |
| Java | 2428 | 428881 | 253929 | 116773 | 58179 |
| Makefile | 2961 | 173569 | 112797 | 35478 | 25294 |
| Python | 1138 | 131783 | 91366 | 19574 | 20843 |
| SVG | 45022 | 78666 | 74116 | 219 | 4331 |
| Module-Definition | 28 | 71196 | 71145 | 8 | 43 |
| XSL | 81 | 77513 | 70060 | 5658 | 1795 |
| C Header | 638 | 89804 | 48382 | 31510 | 9912 |
| Perl | 119 | 45189 | 29925 | 6963 | 8301 |
| JavaScript | 14 | 23580 | 17218 | 3318 | 3044 |
Top language (C++ 67.4%). Generated at 2026-08-14T15:06:11.832041335+00:00.
LibreOffice/core has 9,158,831 total lines, including 6,587,027 code lines, 1,461,773 comment lines, and 1,110,031 blank lines.
OctoCounts resolved the public GitHub repository to commit 31beb53f8e5a, 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 31beb53f8e5a on 2026-08-14T15:06:11.832041335+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: